zope.exceptions
Zope Exceptions
Decision gist · record as of 2026-08-14
Yes, if you are building or maintaining a Zope application or a package that depends on zope.exceptions. The package is stable, has no security issues, and installs with low friction. However, if you are starting a new project outside the Zope ecosystem, standard Python exception handling or a more actively maintained alternative may be a better fit. The aging maintenance status means you should not expect rapid bug fixes or feature additions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; Python 3.8 is no longer supported as of version 6.0.
- Low install friction with a pure-Python wheel.
- Maintenance status is aging—the package last released 336 days ago and has not received recent commits, though the repository remains active and the codebase is stable.
License · maintenance · safety
ZPL-2.1 (unclear) — Licensed under Zope Public License 2.1 (ZPL-2.1), which is OSI-approved but less common than MIT or Apache 2.0. Verify compatibility with your project's license requirements before use.
last release 2025-09-12 (336 days) · last repo commit 2025-12-08
0 known vulnerabilities (OSV.dev, 2026-08-14) · 209,887 downloads/mo, #9,507 on PyPI
Alternatives
Verify before relying
pip install zope.exceptions
from zope.exceptions.exceptionformatter import TextExceptionFormatter
formatter = TextExceptionFormatter()
formatted = formatter.formatException(exc_info)- Whether the package's exception classes integrate well with modern async/await error handling patterns.
- Performance characteristics when formatting very large or deeply nested tracebacks.
- How well the HTML formatter handles edge cases with non-string __traceback_info__ values in production use.
What it is and what it does
zope.exceptions is a utility library that bundles exception classes and formatting tools designed for the Zope web framework ecosystem. It provides TextExceptionFormatter and HTMLExceptionFormatter classes that enhance Python's standard traceback output with better readability, support for custom traceback metadata, and special handling for Zope-specific error contexts. The package is not a framework itself but a foundational component that other Zope packages depend on to standardize exception reporting.
The package depends on setuptools and zope.interface, both of which are lightweight and widely available. It supports Python 3.9 through 3.13 on both CPython and PyPy. The codebase is mature and stable, with a long release history dating back to 2004, though recent development activity is minimal. It carries no known security vulnerabilities.
Use it for
- Format exception tracebacks into HTML for web error pages in Zope-based applications.
- Enhance text-based exception output with custom metadata and improved readability in server logs.
- Extract and manipulate stack frames programmatically for custom error reporting or monitoring.
- Integrate exception handling into Zope application packages that need consistent error formatting.
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 a package that depends on zope.exceptions.
The package is stable, has no security issues, and installs with low friction. However, if you are starting a new project outside the Zope ecosystem, standard Python exception handling or a more actively maintained alternative may be a better fit. The aging maintenance status means you should not expect rapid bug fixes or feature additions.
Install
zope-exceptions on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance status is aging—the package last released 336 days ago and has not received recent commits, though the repository remains active and the codebase is stable.
Requires Python 3.9 or later; Python 3.8 is no longer supported as of version 6.0.
License in practice
Licensed under Zope Public License 2.1 (ZPL-2.1), which is OSI-approved but less common than MIT or Apache 2.0. Verify compatibility with your project's license requirements before use.
Quickstart
pip install zope.exceptions
from zope.exceptions.exceptionformatter import TextExceptionFormatter
formatter = TextExceptionFormatter()
formatted = formatter.formatException(exc_info)
Verify before relying
- Whether the package's exception classes integrate well with modern async/await error handling patterns.
- Performance characteristics when formatting very large or deeply nested tracebacks.
- How well the HTML formatter handles edge cases with non-string __traceback_info__ values in production use.
Package facts
| License | ZPL-2.1 unclear |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagessetuptoolszope.interface |
| Maintenance | Aging 336 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 209,887 / month, #9,507 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: Zope :: 3Intended Audience :: DevelopersLicense :: OSI Approved :: Zope Public LicenseNatural Language :: EnglishOperating 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.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTP |
Evidence: zope_exceptions-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 handling”
- zope.exceptionsProvides general-purpose exception classes and formatting utilities…
- zExceptionszExceptions provides a collection of exception classes and utilities…
- zope.globalrequestProvides a function to retrieve the currently active request object…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also zExceptions · zope.deprecation · zope.testing · zope.configuration · zope.structuredtext · zope.browser · zope.proxy · zope.ptresource · zope.size · zope.datetime