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

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.

Metadata

Release files for zope.ptresource 5.1

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 5.1
File Size Uploaded Provenance Actions
zope_ptresource-5.1.tar.gz 9.5 kB Without provenance Details for zope_ptresource-5.1.tar.gz

Built distribution (wheel)

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

Total release size: 17.1 kB

Release files / zope_ptresource-5.1.tar.gz

Download URL zope_ptresource-5.1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e10ff8dfd345bb73d785dd3832a70e4c6118379f872909334098bf475bab605d
BLAKE2b-256 checksum
How to use checksums
7a444f30933539c883b28edd07beaaaf540e946fdea3900b536ed85d310c4dfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.11

Release files / zope.ptresource-5.1-py3-none-any.whl

Download URL zope.ptresource-5.1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e4c8778ab49c09e53ce69284746f7d405f2fb3fc768b7dd34d8e23df5dc02f0
BLAKE2b-256 checksum
How to use checksums
c082d2468031090fbb8d0b88de3efbed224c2496ce2ebe38e881c609c21be9e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.11

Security for zope.ptresource 5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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