zope.pagetemplate
Zope Page Templates
Decision gist · record as of 2026-08-14
Yes, if you are working within the Zope ecosystem or need a declarative, attribute-driven templating system compatible with visual design tools. The package is actively maintained, has no known vulnerabilities, and supports current Python versions. However, it is a specialized tool with a narrow user base outside Zope; most modern web projects use Jinja2, Django templates, or similar. Install only if your project already depends on Zope or you specifically need TAL/TALES syntax.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; depends on zope.interface, zope.component, zope.tal, zope.tales, and zope.i18n packages.
- Low install friction with a pure-Python wheel distribution.
- Actively maintained with recent releases; last commit 2026-02-18 and version 6.1 released 2025-11-21.
License · maintenance · safety
ZPL-2.1 (unclear) — Licensed under ZPL-2.1 (Zope Public License 2.1), classified as OSI-approved. License treatment marked unclear in the fact sheet; review the actual license terms before use in proprietary or restricted contexts.
last release 2025-11-21 (266 days) · last repo commit 2026-02-18 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 138,205 downloads/mo, #11,338 on PyPI
Alternatives
Verify before relying
from zope.pagetemplate.pagetemplate import PageTemplate
template = PageTemplate("<div tal:content='string:Hello World' />")
result = template()- Whether the 'untrusted' extra (zope.untrustedpython) is necessary for production use cases involving untrusted template input.
- Performance characteristics and scalability limits for large template volumes or complex expression evaluation.
- Compatibility with modern web frameworks (Django, FastAPI, etc.) or whether it is primarily used within Zope ecosystem projects.
What it is and what it does
zope.pagetemplate is a templating engine built on Template Attribute Language (TAL) and TALES expressions that lets designers work with templates in standard visual editing tools while keeping presentation markup separate from application logic. It has been part of the Zope ecosystem since 2007 and is actively maintained for modern Python versions.
The package works by parsing template files and evaluating expressions embedded in template attributes. It depends on a stack of zope libraries (zope.interface, zope.component, zope.tal, zope.tales, zope.i18n, zope.i18nmessageid, and zope.traversing) to handle interface registration, component lookup, TAL parsing, expression evaluation, and internationalization. It is most commonly used within Zope-based applications or projects that need a declarative, attribute-driven templating approach.
Use it for
- Building server-side HTML templates in Zope applications where TAL syntax and TALES expressions are the standard.
- Separating presentation markup from Python logic in web applications that prioritize designer-friendly template syntax.
- Rendering dynamic content with path expressions, string interpolates, and conditional/repetition directives in TAL.
- Integrating templates that can be edited in visual design tools (FrontPage, Dreamweaver, etc.) without breaking markup structure.
- Implementing macro-based template inheritance and reuse within a Zope component architecture.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are working within the Zope ecosystem or need a declarative, attribute-driven templating system compatible with visual design tools.
The package is actively maintained, has no known vulnerabilities, and supports current Python versions. However, it is a specialized tool with a narrow user base outside Zope; most modern web projects use Jinja2, Django templates, or similar. Install only if your project already depends on Zope or you specifically need TAL/TALES syntax.
Install
zope-pagetemplate on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with recent releases; last commit 2026-02-18 and version 6.1 released 2025-11-21. Supports current Python versions (3.10–3.14) and PyPy.
Requires Python 3.10 or later; depends on zope.interface, zope.component, zope.tal, zope.tales, and zope.i18n packages.
License in practice
Licensed under ZPL-2.1 (Zope Public License 2.1), classified as OSI-approved. License treatment marked unclear in the fact sheet; review the actual license terms before use in proprietary or restricted contexts.
Quickstart
from zope.pagetemplate.pagetemplate import PageTemplate
template = PageTemplate("<div tal:content='string:Hello World' />")
result = template()
Verify before relying
- Whether the 'untrusted' extra (zope.untrustedpython) is necessary for production use cases involving untrusted template input.
- Performance characteristics and scalability limits for large template volumes or complex expression evaluation.
- Compatibility with modern web frameworks (Django, FastAPI, etc.) or whether it is primarily used within Zope ecosystem projects.
Package facts
| License | ZPL-2.1 unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagessetuptoolszope.interfacezope.componentzope.taleszope.talzope.i18nzope.i18nmessageidzope.traversing |
| Maintenance | Actively maintained 266 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 138,205 / month, #11,338 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: Zope :: 3Intended Audience :: DevelopersLicense :: OSI Approved :: Zope Public LicenseNatural Language :: EnglishOperating 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.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTP |
Evidence: zope_pagetemplate-6.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “template attribute language”
- zope.pagetemplatezope.pagetemplate provides a templating system that separates…
- zope.taleszope.tales provides an expression language for evaluating dynamic…
- zope.talzope.tal implements the Template Attribute Language (TAL) and Macro…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also DocumentTemplate · z3c.pt · zope.tales · zope.tal · zope.contentprovider · zope.viewlet · zope.structuredtext · zope.browserpage · zope.ptresource · Chameleon