--- id: zope-viewlet version: "6.0" license: ZPL-2.1 license_treatment: unclear maintenance: aging --- # zope.viewlet — Zope Viewlets License: unclear · Maintenance: aging · Downloads: 128.5K/mo ## What it is and what it does zope.viewlet is a framework for building pluggable web user interfaces within the Zope ecosystem. It extends zope.contentprovider by introducing viewlet managers—named template regions—and viewlets, which are discrete content pieces that can be registered and inserted into those regions dynamically. This allows developers to build modular, extensible interfaces where different parts of the UI can be contributed independently without modifying the core template. The package is part of the Zope foundation's component architecture and integrates with zope.configuration, zope.interface, and zope.security to provide a declarative, adapter-based system for UI composition. It supports Python 3.9 through 3.13 and PyPy, and carries a long history of stable releases dating back to 2007. The framework is most useful in large Zope-based applications where UI modularity and plugin-like extensibility are design requirements. Use it for: - Build modular web interfaces in Zope applications where different teams contribute UI regions independently. - Create pluggable template regions that can be extended without modifying the base template. - Implement conditional or weighted viewlet rendering for complex multi-tenant or role-based UIs. - Integrate reusable UI components across a Zope-based CMS or portal system. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. zope.viewlet provides a pluggable framework for building modular web user interfaces by allowing templates to define regions (viewlet managers) where content (viewlets) can be dynamically inserted. Yes, if you are building within the Zope ecosystem and need pluggable UI composition. The package is stable (Production/Stable status), has no known vulnerabilities, and supports current Python versions. However, the aging maintenance status (336 days since release) and the unclear license treatment warrant verification before adoption in new projects. Most useful for existing Zope applications; less relevant outside that framework. ## Install pip install zope-viewlet uv add zope-viewlet poetry add zope-viewlet ## Installing zope.viewlet Before you install: Low install friction with a pure-wheel distribution. Maintenance status is aging—last release was 336 days ago—but the repository remains active with a recent commit in February 2026 and no archived status. License in practice: Licensed under ZPL-2.1 (Zope Public License); license treatment is marked unclear in the fact sheet, so the specific obligations for redistribution or modification should be verified before use in proprietary or GPL-compatible contexts. Quickstart: pip install zope.viewlet from zope.viewlet.manager import ViewletManager from zope.viewlet.viewlet import ViewletBase class MyViewlet(ViewletBase): pass Requires Python 3.9 or later; depends on 13 zope.* packages that must be installed. Verify before relying: - Whether ZPL-2.1 is compatible with your project's license requirements (treatment marked unclear). - Real-world usage patterns and community adoption beyond the 128k monthly downloads figure. - Whether the aging maintenance status (336 days since last release) poses a risk for your use case. ## Package facts - License: ZPL-2.1 (unclear) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 128.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pluggable ui framework, viewlet manager template regions, zope content provider, modular web interface components, dynamic template content insertion, zope web ui pattern, reusable template regions, zope-framework, ui-composition, template-plugin [View on SkillFed](https://skillfed.io/packages/zope-viewlet) · [View on PyPI](https://pypi.org/project/zope-viewlet/)