skillfed

zope.browserpage

ZCML directives for configuring browser views for Zope.

zope-browserpage v6.0 132.2K downloads/30d#11,559 on PyPI1
License unclear ZPL-2.1 AGING released

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-browserpage

uv

uv add zope-browserpage

poetry

poetry add zope-browserpage

Installing 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

Environment :: Web EnvironmentFramework :: Zope :: 3Intended Audience :: DevelopersLicense :: 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.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTP

Tags

zope browser view registrationzcml directives zopezope page template configurationbrowser view zcmlzope web framework viewszcml browser page directivezope component view setup
zope-frameworkzcml-configurationweb-views

More WWW/HTTP packages