--- id: zope-browser version: "4.0" license: ZPL-2.1 license_treatment: unclear maintenance: aging --- # zope.browser — Shared Zope Toolkit browser components License: unclear · Maintenance: aging · Downloads: 171.3K/mo ## What it is and what it does zope.browser is a collection of standard interfaces for browser-related components in Zope Toolkit applications. It defines contracts for common web concepts like views, browser views, adding operations, term providers, and system error handlers. The package exists to break circular dependencies in the Zope ecosystem by centralizing these interface definitions in a lightweight, dependency-minimal module. Developers use it by importing and implementing its interfaces when building Zope-based web applications or components. It is not a runtime framework or middleware—it is purely a contract layer. If you are working within the Zope Toolkit, you will likely import from this package to annotate or check component types; if you are not, it has no direct use. Use it for: - Define custom browser views in Zope applications by implementing IView or IBrowserView. - Build form-like components that handle adding objects to containers using the IAdding interface. - Implement term providers for choice fields and dropdowns via the ITerms interface. - Create custom error views for system exceptions by implementing ISystemErrorView. - Type-check or validate browser components against standard Zope interface contracts. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a set of standard interfaces for browser-related components in Zope Toolkit applications, including view, adding, terms, and error-handling abstractions. Yes, if you are building or maintaining a Zope Toolkit application—it is a stable, lightweight dependency with no security issues. No, if you are not working within Zope; the interfaces are specific to that ecosystem and have no standalone value. The aging maintenance status (336 days since last release) is not a blocker for a stable interface library, but signals this is not an actively evolving project. ## Install pip install zope-browser uv add zope-browser poetry add zope-browser ## Installing zope.browser Before you install: Low install friction with only two runtime dependencies (setuptools and zope.interface). Maintenance status is aging—last release was 336 days ago—but the package is marked Production/Stable and supports current Python versions (3.9–3.13). License in practice: Licensed under ZPL-2.1 (Zope Public License), which is OSI-approved. License treatment is marked unclear in the metadata, so you may want to review the actual license terms before use in proprietary or redistributed software. Quickstart: from zope.browser.interfaces import IView, IBrowserView # Use these interfaces to define or check browser component contracts class MyView: pass if hasattr(MyView, '__implemented__'): print('Component implements Zope interfaces') Requires Python 3.9 or later; zope.interface must be installed as a runtime dependency. Verify before relying: - Whether the package is actively maintained or in long-term stable mode (no repo data available). - Specific use cases beyond Zope Toolkit integration—whether this is useful outside the Zope ecosystem. ## Package facts - License: ZPL-2.1 (unclear) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 171.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags zope browser interfaces, zope view components, zope toolkit browser, zope ibrowserview interface, zope web component abstractions, zope browser framework, zope adding interface, zope-toolkit, interface-definitions [View on SkillFed](https://skillfed.io/packages/zope-browser) · [View on PyPI](https://pypi.org/project/zope-browser/)