===============
zope.ptresource
===============
.. image:: https://img.shields.io/pypi/v/zope.ptresource.svg
:target: https://pypi.python.org/pypi/zope.ptresource/
:alt: Latest release
.. image:: https://img.shields.io/pypi/pyversions/zope.ptresource.svg
:target: https://pypi.org/project/zope.ptresource/
:alt: Supported Python versions
.. image:: https://github.com/zopefoundation/zope.ptresource/actions/workflows/tests.yml/badge.svg
:target: https://github.com/zopefoundation/zope.ptresource/actions/workflows/tests.yml
.. image:: https://coveralls.io/repos/github/zopefoundation/zope.ptresource/badge.svg?branch=master
:target: https://coveralls.io/github/zopefoundation/zope.ptresource?branch=master
.. note::
This package is at present not reusable without depending on a large
chunk of the Zope Toolkit and its assumptions. It is maintained by the
`Zope Toolkit project <http://docs.zope.org/zopetoolkit/>`_.
This package provides a "page template" `resource class
<https://pypi.python.org/pypi/zope.browserresource>`_, a resource
whose content is processed with the `Zope Page Templates
<https://pypi.python.org/pypi/zope.pagetemplate>`_ 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.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.
Raw data
{
"_id": null,
"home_page": "https://github.com/zopefoundation/zope.ptresource/",
"name": "zope.ptresource",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Zope Foundation and Contributors",
"author_email": "zope-dev@zope.dev",
"download_url": "https://files.pythonhosted.org/packages/da/ac/eda7b3b74726d82ebbe712a3753bc36151f289f8271711c9c952c4c24910/zope.ptresource-5.0.tar.gz",
"platform": null,
"description": "===============\nzope.ptresource\n===============\n\n.. image:: https://img.shields.io/pypi/v/zope.ptresource.svg\n :target: https://pypi.python.org/pypi/zope.ptresource/\n :alt: Latest release\n\n.. image:: https://img.shields.io/pypi/pyversions/zope.ptresource.svg\n :target: https://pypi.org/project/zope.ptresource/\n :alt: Supported Python versions\n\n.. image:: https://github.com/zopefoundation/zope.ptresource/actions/workflows/tests.yml/badge.svg\n :target: https://github.com/zopefoundation/zope.ptresource/actions/workflows/tests.yml\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/zope.ptresource/badge.svg?branch=master\n :target: https://coveralls.io/github/zopefoundation/zope.ptresource?branch=master\n\n\n.. note::\n\n This package is at present not reusable without depending on a large\n chunk of the Zope Toolkit and its assumptions. It is maintained by the\n `Zope Toolkit project <http://docs.zope.org/zopetoolkit/>`_.\n\nThis package provides a \"page template\" `resource class\n<https://pypi.python.org/pypi/zope.browserresource>`_, a resource\nwhose content is processed with the `Zope Page Templates\n<https://pypi.python.org/pypi/zope.pagetemplate>`_ engine before\nbeing returned to client.\n\nThe resource factory class is registered for \"pt\", \"zpt\" and \"html\" file\nextensions in the package's ``configure.zcml`` file.\n\n\n=========\n Changes\n=========\n\n5.0 (2023-03-27)\n================\n\n- Add support for Python 3.11.\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n- Drop support for deprecated ``python setup.py test``.\n\n\n4.3.0 (2021-12-15)\n==================\n\n- Add support for Python 3.8, 3.9 and 3.10.\n\n- Drop support for Python 3.4.\n\n\n4.2.0 (2018-10-05)\n==================\n\n- Add support for Python 3.7.\n\n\n4.1.0 (2017-08-31)\n==================\n\n- Add support for Python 3.5 and 3.6.\n\n- Drop support for Python 2.6 and 3.3.\n\n\n\n4.0.0 (2014-12-24)\n==================\n\n- Add support for PyPy and PyPy3.\n\n- Add support for Python 3.4.\n\n- Add support for testing on Travis.\n\n\n\n4.0.0a1 (2013-02-25)\n====================\n\n- Add support for Python 3.3.\n\n- Replace deprecated ``zope.interface.implements`` usage with equivalent\n ``zope.interface.implementer`` decorator.\n\n- Drop support for Python 2.4 and 2.5.\n\n\n\n3.9.0 (2009-08-27)\n==================\n\nInitial release. This package was split off zope.app.publisher as a part\nof refactoring process. It's now a plugin for another package that was\nrefactored from zope.app.publisher - zope.browserresource. See its\ndocumentation for more details.\n\nOther changes:\n\n * Don't render PageTemplateResource when called as the IResource interface\n requires that __call__ method should return an absolute URL. When accessed\n by browser, it still will be rendered, because \"browserDefault\" method now\n returns a callable that will render the template to browser.\n",
"bugtrack_url": null,
"license": "ZPL 2.1",
"summary": "Page template resource plugin for zope.browserresource",
"version": "5.0",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b04c88f4472d3cf2224d7877ba894987f23f7d23f5633deb9d5f9cac3c418a69",
"md5": "e4998fd4737b15a4dfb348ee5ea42742",
"sha256": "109208d35cb66c1b81d81c8b520390a2f17559166c5477cb4adde26fb346d2d6"
},
"downloads": -1,
"filename": "zope.ptresource-5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e4998fd4737b15a4dfb348ee5ea42742",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 7617,
"upload_time": "2023-03-27T09:56:32",
"upload_time_iso_8601": "2023-03-27T09:56:32.871396Z",
"url": "https://files.pythonhosted.org/packages/b0/4c/88f4472d3cf2224d7877ba894987f23f7d23f5633deb9d5f9cac3c418a69/zope.ptresource-5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "daaceda7b3b74726d82ebbe712a3753bc36151f289f8271711c9c952c4c24910",
"md5": "90a9329d986f312361cb18eb04e87b5c",
"sha256": "fe1bfcba80cefb97bf1551409b7e24a7d30ba4941cdd6a95983d52f1f25e4b1a"
},
"downloads": -1,
"filename": "zope.ptresource-5.0.tar.gz",
"has_sig": false,
"md5_digest": "90a9329d986f312361cb18eb04e87b5c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 8785,
"upload_time": "2023-03-27T09:56:34",
"upload_time_iso_8601": "2023-03-27T09:56:34.241812Z",
"url": "https://files.pythonhosted.org/packages/da/ac/eda7b3b74726d82ebbe712a3753bc36151f289f8271711c9c952c4c24910/zope.ptresource-5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-27 09:56:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "zopefoundation",
"github_project": "zope.ptresource",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "zope.ptresource"
}