Skip to main content

zope.ptresource

Latest release Supported Python versions https://github.com/zopefoundation/zope.ptresource/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/zopefoundation/zope.ptresource/badge.svg?branch=master

This package provides a “page template” resource class, a resource whose content is processed with the Zope Page Templates engine before being returned to client.

The resource factory class is registered for “pt”, “zpt” and “html” file extensions in the package’s configure.zcml file.

Changes

6.0 (2025-09-12)

  • Replace pkg_resources namespace with PEP 420 native namespace.

5.1 (2025-02-14)

  • Add support for Python 3.12, 3.13.

  • Drop support for Python 3.7, 3.8.

5.0 (2023-03-27)

  • Add support for Python 3.11.

  • Drop support for Python 2.7, 3.5, 3.6.

  • Drop support for deprecated python setup.py test.

4.3.0 (2021-12-15)

  • Add support for Python 3.8, 3.9 and 3.10.

  • Drop support for Python 3.4.

4.2.0 (2018-10-05)

  • Add support for Python 3.7.

4.1.0 (2017-08-31)

  • Add support for Python 3.5 and 3.6.

  • Drop support for Python 2.6 and 3.3.

4.0.0 (2014-12-24)

  • Add support for PyPy and PyPy3.

  • Add support for Python 3.4.

  • Add support for testing on Travis.

4.0.0a1 (2013-02-25)

  • Add support for Python 3.3.

  • Replace deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.

  • Drop support for Python 2.4 and 2.5.

3.9.0 (2009-08-27)

Initial release. This package was split off zope.app.publisher as a part of refactoring process. It’s now a plugin for another package that was refactored from zope.app.publisher - zope.browserresource. See its documentation for more details.

Other changes:

  • Don’t render PageTemplateResource when called as the IResource interface requires that __call__ method should return an absolute URL. When accessed by browser, it still will be rendered, because “browserDefault” method now returns a callable that will render the template to browser.

Release files for zope.ptresource 6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zope.ptresource 6.0
File Size Uploaded
zope_ptresource-6.0.tar.gz 9.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zope.ptresource 6.0
File Interpreter ABI Platform
zope_ptresource-6.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / zope_ptresource-6.0.tar.gz

Download URL zope_ptresource-6.0.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d77ccfa687ae7fe0b4d2b63dfd483d5fcad3c6c8101812e0e05bc7690fd29bd6
BLAKE2b-256 checksum
How to use checksums
597280a1abb24c6e6c5df0040bdd41d68c22faab92ca370b4637a2f1042b5a09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / zope_ptresource-6.0-py3-none-any.whl

Download URL zope_ptresource-6.0-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b3ba66139af9fea1abc0100d4f909444a8486a912f5bcc2549ab47eef82ed5c
BLAKE2b-256 checksum
How to use checksums
bc4e0209edbfe7da4584ee982e19b65503d2a6549124aaa825ee7030d5d467e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

6.0 This release

2 release files

5.1

2 release files

5.0

2 release files

4.3.0

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.9.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page