{ "info": { "author": "Malthe Borch and the Zope Community", "author_email": "zope-dev@zope.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Zope :: 3", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Text Processing :: Markup :: HTML", "Topic :: Text Processing :: Markup :: XML" ], "description": "========\n z3c.pt\n========\n\n.. image:: https://img.shields.io/pypi/v/z3c.pt.svg\n :target: https://pypi.python.org/pypi/z3c.pt/\n :alt: Latest release\n\n.. image:: https://img.shields.io/pypi/pyversions/z3c.pt.svg\n :target: https://pypi.org/project/z3c.pt/\n :alt: Supported Python versions\n\n.. image:: https://travis-ci.org/zopefoundation/z3c.pt.svg?branch=master\n :target: https://travis-ci.org/zopefoundation/z3c.pt\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/z3c.pt/badge.svg?branch=master\n :target: https://coveralls.io/github/zopefoundation/z3c.pt?branch=master\n\n.. image:: https://readthedocs.org/projects/z3cpt/badge/?version=latest\n :target: https://z3cpt.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\nThis is a fast implementation of the ZPT template engine for Zope 3\nwhich uses Chameleon to compile templates to byte-code.\n\nThe package provides application support equivalent to\n``zope.pagetemplate``.\n\n\n==========\n Overview\n==========\n\nThis section demonstrates the high-level template classes. All page\ntemplate classes in ``z3c.pt`` use path-expressions by default.\n\nPage templates\n==============\n\n >>> from z3c.pt.pagetemplate import PageTemplate\n >>> from z3c.pt.pagetemplate import PageTemplateFile\n\nThe ``PageTemplate`` class is initialized with a string.\n\n >>> template = PageTemplate(\"\"\"\\\n ...