$npx skillfedfor your agent

z3c.pt

Fast ZPT engine.

With conditionsPyPI HTMLReleased Jun 2025128.2K downloads / moZPLPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — z3c_pt-5.1-py3-none-any.whl
v5.1 · released 2025-06-19 · Python >=3.9 · 7 runtime deps: setuptools, zope.interface, zope.component, zope.i18n, zope.traversing, zope.contentprovider, Chameleon

Yes, if you are building or maintaining a Zope 3 application and need faster template rendering than zope.pagetemplate. The package is stable (Production/Stable status), supports modern Python versions, has no known vulnerabilities, and low install friction. The aging maintenance status and unclear license treatment are minor concerns—review the ZPL terms for your use case and monitor the repository for future updates, but neither blocks adoption for existing Zope projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-Python wheel.
  • The package depends on 7 runtime dependencies including Chameleon and several Zope libraries.
  • Maintenance status is aging—last release was 421 days ago, though the repository remains active and the package supports current Python versions (3.9–3.13).

License · maintenance · safety

ZPL (unclear) — Licensed under ZPL (Zope Public License), which is OSI-approved but less common than MIT or Apache 2.0. License treatment is marked unclear in the fact sheet, so you may want to review the actual license terms before use in proprietary or commercial contexts.

last release 2025-06-19 (421 days) · last repo commit 2025-10-30 · 1 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 128,229 downloads/mo, #11,716 on PyPI

Verify before relying

from z3c.pt.pagetemplate import PageTemplate

template = PageTemplate("""
<html>
  <body tal:content="string:Hello World!">default</body>
</html>
""")

print(template())
  • Whether ZPL license is compatible with your project's licensing requirements
  • Performance comparison with zope.pagetemplate or other template engines in your use case
  • Maintenance roadmap and whether aging status indicates planned deprecation
Same gist for agents: .md · .json

What it is and what it does

z3c.pt is a template engine for Zope 3 applications that renders page templates (ZPT) by compiling them to bytecode via Chameleon. It provides the same application-level interface as zope.pagetemplate but with faster execution through bytecode compilation. The package supports TAL (Template Attribute Language) and TALES (Template Attribute Language Expression Syntax) for dynamic template logic, including path expressions, Python expressions, and custom namespace adapters.

The package offers two main template classes: PageTemplate for string-based templates and PageTemplateFile for templates loaded from disk. It also provides ViewPageTemplate and ViewPageTemplateFile variants for use within Zope view classes. Templates can bind to request and context objects, set content types, and support both keyword and positional arguments. It integrates with the Zope component architecture through zope.interface, zope.component, and zope.traversing.

Use it for

  • Rendering HTML templates in Zope 3 web applications with TAL expressions and automatic bytecode compilation for performance.
  • Building view templates that bind to Zope view objects and have access to request and context in a single property.
  • Implementing custom TALES namespace adapters for domain-specific template functions and path traversal logic.
  • Migrating from zope.pagetemplate to a faster engine without changing template syntax or application code.
  • Serving dynamic content with content-type negotiation (HTML, XML, RDF) based on template or request headers.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building or maintaining a Zope 3 application and need faster template rendering than zope.pagetemplate.

The package is stable (Production/Stable status), supports modern Python versions, has no known vulnerabilities, and low install friction. The aging maintenance status and unclear license treatment are minor concerns—review the ZPL terms for your use case and monitor the repository for future updates, but neither blocks adoption for existing Zope projects.

Install

z3c-pt on PyPI

Before you install

Low install friction with a pure-Python wheel. The package depends on 7 runtime dependencies including Chameleon and several Zope libraries. Maintenance status is aging—last release was 421 days ago, though the repository remains active and the package supports current Python versions (3.9–3.13).

License in practice

Licensed under ZPL (Zope Public License), which is OSI-approved but less common than MIT or Apache 2.0. License treatment is marked unclear in the fact sheet, so you may want to review the actual license terms before use in proprietary or commercial contexts.

Quickstart

from z3c.pt.pagetemplate import PageTemplate

template = PageTemplate("""
<html>
  <body tal:content="string:Hello World!">default</body>
</html>
""")

print(template())

Verify before relying

  • Whether ZPL license is compatible with your project's licensing requirements
  • Performance comparison with zope.pagetemplate or other template engines in your use case
  • Maintenance roadmap and whether aging status indicates planned deprecation

Package facts

LicenseZPL unclear
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
setuptoolszope.interfacezope.componentzope.i18nzope.traversingzope.contentproviderChameleon
MaintenanceAging 421 days since the last release
Last repo commit
First released
Downloads128,229 / month, #11,716 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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 :: 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 :: Text Processing :: Markup :: HTMLTopic :: Text Processing :: Markup :: XML

Evidence: z3c_pt-5.1-py3-none-any.whl

Tags

Capabilities
zope page template enginechameleon template compilationzpt template renderingtal tales expressionszope 3 templatesfast template bytecodepagetemplate alternative
Topics
zope-ecosystemtemplate-enginebytecode-compilation
PyPI keywords
taltalespagetemplatezopechameleon

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 › “zope page template engine”

  • z3c.ptz3c.pt is a fast ZPT (Zope Page Template) engine that compiles…
  • zope.talzope.tal implements the Template Attribute Language (TAL) and Macro…
  • zope.pagetemplatezope.pagetemplate provides a templating system that separates…

Give your agent the search over MCP, or paste the wish link into any chat.

More HTML packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
beautifulsoup4 Worth it
PyPI · Python Modules · released Jun 2026

Beautiful Soup parses HTML and XML documents into a navigable tree, providing Pythonic methods to search, iterate, and modify the parsed content.

Install it if you need to parse or extract data from markup documents.

MITpure Python · 3.7.0+
432.1Mdownloads / mo
lxml Worth it
PyPI · Python Modules · released May 2026

lxml provides Python bindings to libxml2 and libxslt, enabling parsing, validation, and transformation of XML and HTML documents through an ElementTree-compatible API with support for XPath, XSLT, and schema validation.

Install it if you need robust XML/HTML parsing, validation, or transformation; avoid it only if you must stay pure-Python and can accept slower performance.

permissive licensecompiled wheel · 3.8+
416.8Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
Markdown Worth it
PyPI · Python Modules · released Jul 2026

Converts Markdown text to HTML using a Python implementation of John Gruber's Markdown specification, with support for extensions.

Install it if you need to parse Markdown in Python.

BSD-3-Clausepure Python · 3.10+
121.7Mdownloads / mo

See also Chameleon · zope.pagetemplate · zope.tales · zope.ptresource · zope.tal · zope.contentprovider · zope.browserpage · zope.browserresource · DocumentTemplate · zope.site