zope.browserpage
ZCML directives for configuring browser views for Zope.
What it is and what it does
zope.browserpage is a configuration layer for the Zope web framework that registers browser views using ZCML (Zope Configuration Markup Language). It defines three main directives—browser:page, browser:pages, and browser:view—that map URLs and request types to Python view classes or template files. The package is tightly coupled to the Zope Toolkit and cannot be used independently; it requires ten runtime dependencies including zope.component, zope.interface, zope.security, and zope.pagetemplate.
This package is intended for developers building web applications within the Zope ecosystem. It handles the declarative registration of browser views, which are the primary mechanism for handling HTTP requests in Zope. If zope.browsermenu is installed, the directives also support menu item registration; otherwise, menu attributes are silently ignored. The package has been maintained since 2009 and currently supports Python 3.9 through 3.13.
Use it for:
- Register browser view handlers for specific content types and request interfaces in a Zope application.
- Configure URL-to-view mappings declaratively via ZCML instead of programmatic registration.
- Set up named page templates as browser views with automatic security and permission handling.
- Integrate menu items with browser views when zope.browsermenu is available in the environment.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides ZCML directives (browser:page, browser:pages, browser:view) for registering browser views in Zope applications, with optional menu item support.
Yes, but only if you are already committed to the Zope Toolkit ecosystem. This package is not a standalone library—it is a configuration layer for Zope web applications and requires the entire Zope dependency stack. If you are building a new Zope application, it is a necessary component. If you are not already using Zope, do not install it. The aging maintenance status (336 days since last release) is not a blocker for stable use, but signals that the Zope ecosystem itself may not be the focus of active development.
Install
zope-browserpage on PyPI
pip
pip install zope-browserpageuv
uv add zope-browserpagepoetry
poetry add zope-browserpageInstalling zope.browserpage
Before you install
Low friction to install, but the package is explicitly not reusable without depending on a large chunk of the Zope Toolkit. Maintenance status is aging—last release was 336 days ago—though the repository remains active and the package supports current Python versions (3.9–3.13).
License in practice
Licensed under ZPL-2.1 (Zope Public License), classified as unclear in treatment. Verify compatibility with your project's licensing requirements before use.
Quickstart
pip install zope.browserpage
from zope.configuration import xmlconfig
from zope.browserpage import zcml
# Configure ZCML directives for browser views
xmlconfig.file('configure.zcml', package=your_package)
Requires Python 3.9 or later. Depends on the entire Zope Toolkit ecosystem (zope.component, zope.configuration, zope.interface, zope.publisher, zope.schema, zope.security, zope.traversing, zope.tal, zope.pagetemplate, setuptools)—not usable as a standalone library.
Verify before relying
- Whether menu item registration via zope.browsermenu is actively maintained and compatible with current versions.
- Real-world usage patterns and whether the Zope Toolkit ecosystem remains actively developed for new projects.
- Whether the aging maintenance status (336 days since last release) indicates the package is stable or stalled.
Package facts
| License | ZPL-2.1 (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 10 — setuptools, zope.tal, zope.pagetemplate, zope.component, zope.configuration, zope.interface, zope.publisher, zope.schema, zope.security, zope.traversing |
| Maintenance | aging — 336 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 132,241/month — #11,559 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: zope_browserpage-6.0-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
zope.browserProvides a set of standard interfaces for…
unclear · top 15,000 on PyPI
zope.browsermenuProvides browser menu implementation and ZCML…
unclear · top 15,000 on PyPI
zope.browserresourceRegisters and serves static browser resources…
unclear · top 15,000 on PyPI
zope.configurationZope.configuration provides an extensible…
unclear · top 5,000 on PyPI
zope.testbrowserzope.testbrowser provides a programmable web…
unclear · top 15,000 on PyPI
zope.viewletzope.viewlet provides a pluggable framework for…
unclear · top 15,000 on PyPI
zope.contentproviderProvides a framework for building componentized…
unclear · top 15,000 on PyPI
zope.ptresourceProvides a resource class that processes Zope…
unclear · top 15,000 on PyPI
zope.pagetemplatezope.pagetemplate provides a templating system…
unclear · top 15,000 on PyPI
zope.talzope.tal implements the Template Attribute…
unclear · top 15,000 on PyPI