zExceptions
zExceptions contains common exceptions used in Zope.
Decision gist · record as of 2026-08-14
Yes, if you are building or maintaining a Zope application or integrating with the Zope ecosystem. The package is actively maintained, has low install friction, and provides essential exception infrastructure for Zope projects. Not relevant for non-Zope applications. Verify ZPL-2.1 license compatibility before use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; not compatible with earlier Python versions.
- Low install friction with a pure-wheel distribution.
- Actively maintained as of 2026-02-19 with recent Python version support (3.10–3.14).
License · maintenance · safety
ZPL-2.1 (unclear) — Licensed under ZPL-2.1 (Zope Public License), classified as OSI-approved. License treatment is marked unclear in the fact sheet; review the ZPL-2.1 terms directly if license compliance is a concern for your project.
last release 2026-02-19 (176 days) · last repo commit 2026-03-16
0 known vulnerabilities (OSV.dev, 2026-08-14) · 145,695 downloads/mo, #11,121 on PyPI
Alternatives
Verify before relying
pip install zexceptions
from zexceptions import HTTPException, Unauthorized
exc = Unauthorized('Access denied')
print(exc)- Whether ZPL-2.1 is compatible with your project's license requirements (treatment marked unclear).
- Specific HTTP status codes supported and the full API surface beyond exception class names.
- Whether upgradeException and other helper functions are available and how they work.
What it is and what it does
zExceptions is a library of exception classes and utilities designed for the Zope web framework ecosystem. It provides a standardized set of HTTP status exceptions, authorization and redirect exceptions, and helper functions for exception handling in Zope applications. The package is built on top of zope.interface, zope.publisher, and zope.security, making it a foundational component for Zope-based projects that need consistent exception semantics across the framework.
The library has been actively maintained since its first release and currently supports modern Python versions (3.10–3.14). It is primarily useful for developers building Zope applications or integrating with the Zope ecosystem, where standardized exception handling and HTTP status code representation are expected. The package has no known security vulnerabilities and is classified as mature.
Use it for
- Raising HTTP status exceptions in Zope web applications with consistent response handling.
- Handling authorization failures with the Unauthorized exception class in Zope-based access control.
- Converting non-HTTP exceptions to HTTP exceptions for consistent error responses in Zope.
- Setting custom response headers and bodies on exceptions within Zope request/response cycles.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or maintaining a Zope application or integrating with the Zope ecosystem.
The package is actively maintained, has low install friction, and provides essential exception infrastructure for Zope projects. Not relevant for non-Zope applications. Verify ZPL-2.1 license compatibility before use.
Install
zexceptions on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained as of 2026-02-19 with recent Python version support (3.10–3.14). Four runtime dependencies are all established Zope ecosystem packages.
Requires Python 3.10 or later; not compatible with earlier Python versions.
License in practice
Licensed under ZPL-2.1 (Zope Public License), classified as OSI-approved. License treatment is marked unclear in the fact sheet; review the ZPL-2.1 terms directly if license compliance is a concern for your project.
Quickstart
pip install zexceptions
from zexceptions import HTTPException, Unauthorized
exc = Unauthorized('Access denied')
print(exc)
Verify before relying
- Whether ZPL-2.1 is compatible with your project's license requirements (treatment marked unclear).
- Specific HTTP status codes supported and the full API surface beyond exception class names.
- Whether upgradeException and other helper functions are available and how they work.
Package facts
| License | ZPL-2.1 unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagessetuptoolszope.interfacezope.publisherzope.security |
| Maintenance | Actively maintained 176 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 145,695 / month, #11,121 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 6 - MatureEnvironment :: Web EnvironmentFramework :: Zope :: 5License :: OSI Approved :: Zope Public LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: zexceptions-6.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “zope exception classes”
- zExceptionszExceptions provides a collection of exception classes and utilities…
- zope.exceptionsProvides general-purpose exception classes and formatting utilities…
- ExtensionClassProvides a metaclass that enables extension module classes to be…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also http-exceptions · zope.exceptions · MultiMapping · zope.deprecation · zope.datetime · AccessControl · zope.browser · zope.browsermenu · zope.configuration · zope.testing