zope.ptresource
Page template resource plugin for zope.browserresource
Decision gist · record as of 2026-08-14
Yes, if you are building or maintaining a Zope Toolkit application and need template-based resource serving. No, if you are looking for a standalone template engine or resource handler outside the Zope ecosystem. The package is actively maintained but tightly coupled to Zope; it is not reusable in isolation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later and integration within a Zope Toolkit application; not usable as a standalone library.
- Low friction install with a wheel distribution.
- Maintenance status is aging—last release was 336 days ago—but the package remains active and supports current Python versions (3.9–3.13).
License · maintenance · safety
ZPL-2.1 (unclear) — Licensed under ZPL-2.1, which is OSI-approved. License treatment is marked unclear in the fact sheet, so verify compatibility with your project's licensing requirements before use.
last release 2025-09-12 (336 days) · last repo commit 2025-09-12
0 known vulnerabilities (OSV.dev, 2026-08-14) · 128,418 downloads/mo, #11,708 on PyPI
Alternatives
Verify before relying
pip install zope.ptresource
from zope.ptresource import PageTemplateResource- Whether ZPL-2.1 is compatible with your project's license or distribution model
- Real-world reusability outside the full Zope Toolkit ecosystem, given the package's own note about tight coupling
What it is and what it does
zope.ptresource is a plugin that wraps static resources (files with .pt, .zpt, or .html extensions) and processes them through the Zope Page Templates engine before serving them to clients. It integrates into the Zope Toolkit's resource and security infrastructure, allowing template-based resources to be registered and served as part of a web application.
The package is tightly coupled to the broader Zope Toolkit ecosystem—it depends on setuptools, zope.browserresource, zope.interface, zope.pagetemplate, zope.publisher, and zope.security—and is maintained primarily for use within that framework. It is not designed to be a standalone templating solution; it is a specialized resource handler for Zope-based web applications.
Use it for
- Serve .pt or .zpt template files as HTTP resources in a Zope-based web application
- Register dynamic HTML resources that are processed through Zope Page Templates before delivery
- Build resource factories for template-driven content within a Zope Toolkit project
- Integrate template rendering into Zope's security and publisher infrastructure
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or maintaining a Zope Toolkit application and need template-based resource serving.
No, if you are looking for a standalone template engine or resource handler outside the Zope ecosystem. The package is actively maintained but tightly coupled to Zope; it is not reusable in isolation.
Install
zope-ptresource on PyPI
Before you install
Low friction install with a wheel distribution. Maintenance status is aging—last release was 336 days ago—but the package remains active and supports current Python versions (3.9–3.13).
Requires Python 3.9 or later and integration within a Zope Toolkit application; not usable as a standalone library.
License in practice
Licensed under ZPL-2.1, which is OSI-approved. License treatment is marked unclear in the fact sheet, so verify compatibility with your project's licensing requirements before use.
Quickstart
pip install zope.ptresource
from zope.ptresource import PageTemplateResource
Verify before relying
- Whether ZPL-2.1 is compatible with your project's license or distribution model
- Real-world reusability outside the full Zope Toolkit ecosystem, given the package's own note about tight coupling
Package facts
| License | ZPL-2.1 unclear |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagessetuptoolszope.browserresourcezope.interfacezope.pagetemplatezope.publisherzope.security |
| Maintenance | Aging 336 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 128,418 / month, #11,708 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: Web EnvironmentFramework :: Zope :: 3Intended Audience :: DevelopersLicense :: OSI Approved :: Zope Public LicenseOperating 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.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTP |
Evidence: zope_ptresource-6.0-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 › “zope page template resources”
- zope.ptresourceProvides a resource class that processes Zope Page Templates and…
- zope.talzope.tal implements the Template Attribute Language (TAL) and Macro…
- z3c.ptz3c.pt is a fast ZPT (Zope Page Template) engine that compiles…
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 zope.browserresource · zope.globalrequest · z3c.pt · zope.browserpage · zope.viewlet · zope.exceptions · zope.browser · zope.browsermenu · zope.pagetemplate · zope.traversing