Page template resource plugin for zope.browserresource. Version 6.0 supports Python >=3.9. Provides a way to register page templates as browser resources using ZCML directives. Release cadence is low, maintained by Zope Foundation.
pip install zope.ptresourceNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Register a page template resource using ZCML. The ptresource directive requires package='zope.ptresource' to be included first.
Ensure Python >=3.9 and upgrade the library.
Use layer_name='default' instead of layer='default' if using ZCML.
Add <include package="zope.ptresource" file="meta.zcml" /> before using ptresource directive.