--- id: zope-tal version: "6.0" license: ZPL-2.1 license_treatment: unclear maintenance: aging --- # zope.tal — Zope Template Application Language (TAL) License: unclear · Maintenance: aging · Downloads: 138.0K/mo ## What it is and what it does zope.tal is a template language implementation that defines how dynamic content is injected into page templates via custom XML/HTML attributes and namespaces. It is part of the Zope ecosystem and works alongside zope.tales (which handles expression evaluation) to render templates with dynamic values. The package includes both TAL directives for conditional rendering, repetition, and variable substitution, and METAL macros for template reuse and composition. The package is used primarily within Zope-based applications and frameworks that rely on Page Templates as their rendering engine. It depends on zope.interface for component architecture and zope.i18nmessageid for internationalization support. The implementation is stable and supports modern Python versions (3.9–3.13) on both CPython and PyPy, though development activity is infrequent. Use it for: - Rendering Zope Page Templates with dynamic content injection via TAL directives. - Building reusable template macros and page composition using METAL. - Integrating template-based rendering into Zope applications and frameworks. - Processing XML/HTML templates with conditional logic and variable substitution. - Localizing template content through i18n integration in Zope-based projects. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. zope.tal implements the Template Attribute Language (TAL) and Macro Expansion for TAL (METAL), enabling dynamic markup injection into Zope Page Templates through custom namespace and attribute directives. Yes, if you are working within the Zope ecosystem or using Zope Page Templates. The package is stable, supports current Python versions, has no known vulnerabilities, and carries low install friction. No, if you are starting a new project—TAL is a legacy template language and most modern Python web frameworks use Jinja2, Mako, or similar. The unclear license treatment warrants verification before use in proprietary or GPL-licensed projects. ## Install pip install zope-tal uv add zope-tal poetry add zope-tal ## Installing zope.tal Before you install: Low install friction with three runtime dependencies (setuptools, zope.i18nmessageid, zope.interface). Maintenance status is aging—last release was 336 days ago—but the package remains in production/stable state with recent Python version support (3.9–3.13) and an active repository. License in practice: Licensed under ZPL-2.1 (Zope Public License), marked as unclear treatment. Users should verify compatibility with their project's license requirements before adopting. Quickstart: pip install zope.tal from zope.tal.talesengine import Engine engine = Engine() Requires Python 3.9 or later; zope.interface and zope.i18nmessageid must be available at runtime. Verify before relying: - Whether TAL/METAL directives work with modern template frameworks outside the Zope ecosystem. - Performance characteristics when processing large or deeply nested templates. - Specific use cases beyond Zope Page Templates that the package supports. ## Package facts - License: ZPL-2.1 (unclear) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 138.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags template attribute language, zope page templates, tal macro expansion, dynamic template markup, zope template engine, tal metal macros, xml template processing, zope-ecosystem, template-language, legacy-maintained [View on SkillFed](https://skillfed.io/packages/zope-tal) · [View on PyPI](https://pypi.org/project/zope-tal/)