z3c.ptcompat


Namez3c.ptcompat JSON
Version 4.0 PyPI version JSON
download
home_pagehttps://github.com/zopefoundation/z3c.ptcompat
SummaryZope-compatible page template engine based on Chameleon.
upload_time2024-06-07 06:36:38
maintainerNone
docs_urlNone
authorZope Foundation and Contributors
requires_python>=3.8
licenseZPL
keywords zpt template zope
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. contents::

Overview
========

.. image:: https://img.shields.io/pypi/v/z3c.ptcompat.svg
        :target: https://pypi.python.org/pypi/z3c.ptcompat/
        :alt: Latest release

.. image:: https://img.shields.io/pypi/pyversions/z3c.ptcompat.svg
        :target: https://pypi.org/project/z3c.ptcompat/
        :alt: Supported Python versions

.. image:: https://github.com/zopefoundation/z3c.ptcompat/actions/workflows/tests.yml/badge.svg
        :target: https://github.com/zopefoundation/z3c.ptcompat/actions/workflows/tests.yml

.. image:: https://coveralls.io/repos/github/zopefoundation/z3c.ptcompat/badge.svg?branch=master
        :target: https://coveralls.io/github/zopefoundation/z3c.ptcompat?branch=master

This package provides a page template engine implementation based on
Chameleon. It plugs into the `zope.pagetemplate
<https://pypi.python.org/pypi/zope.pagetemplate>`_ package and has an
explicit dependency on this package.

You can use the package to replace Zope's reference template engine
with Chameleon in an application based on the Zope Toolkit.

Configuration
-------------

The package is configured via ZCML.


Changelog
=========

4.0 (2024-06-07)
----------------

- Drop support for Python 3.7.

- Add support for Python 3.12.


3.0 (2024-01-09)
----------------

- Add support for Python 3.11.

- Drop support for Python 2.7, 3.5, 3.6.


2.3.0 (2021-12-16)
------------------

- Add support for Python 3.8, 3.9, and 3.10.

- Drop support for Python 3.4.


2.2.0 (2019-01-27)
------------------

- Add support for Python 3.7.

- Drop support for running the tests using `python setup.py test`


2.1.0 (2017-10-17)
------------------

- Fix rendering with Chameleon 3.0 and above. See `issue 2
  <https://github.com/zopefoundation/z3c.ptcompat/issues/2>`_.
- Add support for Python 3.6.
- Drop support for Python 3.3.


2.0 (2016-09-02)
----------------

- Added support for Python 3.4, 3.5, PyPy and PyPy3.

- Dropped support for Python 2.6.


2.0.0a1 (2013-02-25)
--------------------

- Added support for Python 3.3.

- Ensured that ``chameleon.tal.ReapeatDict`` can be adapted. (Needs to be
  fixed in Chameleon.)

- Replaced deprecated ``zope.interface.implements`` usage with equivalent
  ``zope.interface.implementer`` decorator.

- Dropped support for Python 2.4 and 2.5.


1.0.1 (2012-02-15)
------------------

- Move ``zope.testing`` to test dependencies, add undeclared dependencies.


1.0 (2011-10-10)
----------------

- Update implementation to use component-based template engine
  configuration, plugging directly into the Zope Toolkit framework.

  The package no longer provides template classes, or ZCML directives;
  you should import directly from the ZTK codebase.

  Also, note that the ``PREFER_Z3C_PT`` environment option has been
  rendered obsolete; instead, this is now managed via component
  configuration.

- Upgrade to Chameleon 2.x.

0.5.7 (2010-11-25)
------------------

- Added not yet declared test dependency on ``zope.testing``.

- Fixed test tear down so tests can be run multiple times.


0.5.6 (2010-04-19)
------------------

- Remove broken templates from registry during engine migration. In
  some testing situation, stale templates would be tracked in the
  regsitry.

- Existing template instances are now migrated to the right engine
  when using the ``enable`` and ``disable`` methods. [malthe]

0.5.5 (2009-07-24)
------------------

- Make tests pass in a binary release by not relying on the pacakge structure.

0.5.4 (2009-07-23)
------------------

- Added a test requirement explicitely.

0.5.3 (2009-05-28)
------------------

- Added support for browser:addform, browser:editform, browser:form,
  and browser:schemadisplay directives.

0.5.2 (2009-03-09)
------------------

- Fixing brown-bag release 0.5.1.

0.5.1 (2009-03-09)
------------------

- Added missing ``lxml`` test dependency.

- Fixed tests to work with current version of z3c.pt.

- Fixed autor e-mail address.

- Added doctests and change log to long description to show up at pypi
  homepage.

- Reformatted release dates in change log to use iso dates.

0.5 (2009-02-16)
----------------

- Added module which patches ``zope.app.pagetemplate`` such that
  template classes depend on ``z3c.pt`` for rendering (import
  optional). [malthe]

0.4 (2009-02-10)
----------------

- Rename project to z3c.ptcompat to deal with setuptools issues (as discussed
  on zope-dev http://mail.zope.org/pipermail/zope-dev/2008-December/033820.html)

- Added optional option ``doctest`` for output checker to allow usage
  with alternative implementations, e.g. the Zope doctest
  module. [malthe]

- Added tests for meta-directives and fixed some minor errors. [malthe]

- Added update-tool to walk a source tree and automatically rewrite
  template import statements in each file. [malthe]

- Added meta-directives for browser pages and viewlets. These build
  upon the original implementations, but make sure that the Chameleon
  template engine is used. [malthe]

- Added ``PageTemplateFile``. [malthe]

0.3 (2008-10-02)
----------------

- Various changes.

0.2 (2008-09-13)
----------------

- Various changes.

0.1 (2008-09-09)
----------------

- Initial release.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zopefoundation/z3c.ptcompat",
    "name": "z3c.ptcompat",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "zpt template zope",
    "author": "Zope Foundation and Contributors",
    "author_email": "zope-dev@zope.dev",
    "download_url": "https://files.pythonhosted.org/packages/88/12/bd981e8bd8afd2e09700890be99de8c54899b02e133580cc5a6183ff3425/z3c.ptcompat-4.0.tar.gz",
    "platform": null,
    "description": ".. contents::\n\nOverview\n========\n\n.. image:: https://img.shields.io/pypi/v/z3c.ptcompat.svg\n        :target: https://pypi.python.org/pypi/z3c.ptcompat/\n        :alt: Latest release\n\n.. image:: https://img.shields.io/pypi/pyversions/z3c.ptcompat.svg\n        :target: https://pypi.org/project/z3c.ptcompat/\n        :alt: Supported Python versions\n\n.. image:: https://github.com/zopefoundation/z3c.ptcompat/actions/workflows/tests.yml/badge.svg\n        :target: https://github.com/zopefoundation/z3c.ptcompat/actions/workflows/tests.yml\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/z3c.ptcompat/badge.svg?branch=master\n        :target: https://coveralls.io/github/zopefoundation/z3c.ptcompat?branch=master\n\nThis package provides a page template engine implementation based on\nChameleon. It plugs into the `zope.pagetemplate\n<https://pypi.python.org/pypi/zope.pagetemplate>`_ package and has an\nexplicit dependency on this package.\n\nYou can use the package to replace Zope's reference template engine\nwith Chameleon in an application based on the Zope Toolkit.\n\nConfiguration\n-------------\n\nThe package is configured via ZCML.\n\n\nChangelog\n=========\n\n4.0 (2024-06-07)\n----------------\n\n- Drop support for Python 3.7.\n\n- Add support for Python 3.12.\n\n\n3.0 (2024-01-09)\n----------------\n\n- Add support for Python 3.11.\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n\n2.3.0 (2021-12-16)\n------------------\n\n- Add support for Python 3.8, 3.9, and 3.10.\n\n- Drop support for Python 3.4.\n\n\n2.2.0 (2019-01-27)\n------------------\n\n- Add support for Python 3.7.\n\n- Drop support for running the tests using `python setup.py test`\n\n\n2.1.0 (2017-10-17)\n------------------\n\n- Fix rendering with Chameleon 3.0 and above. See `issue 2\n  <https://github.com/zopefoundation/z3c.ptcompat/issues/2>`_.\n- Add support for Python 3.6.\n- Drop support for Python 3.3.\n\n\n2.0 (2016-09-02)\n----------------\n\n- Added support for Python 3.4, 3.5, PyPy and PyPy3.\n\n- Dropped support for Python 2.6.\n\n\n2.0.0a1 (2013-02-25)\n--------------------\n\n- Added support for Python 3.3.\n\n- Ensured that ``chameleon.tal.ReapeatDict`` can be adapted. (Needs to be\n  fixed in Chameleon.)\n\n- Replaced deprecated ``zope.interface.implements`` usage with equivalent\n  ``zope.interface.implementer`` decorator.\n\n- Dropped support for Python 2.4 and 2.5.\n\n\n1.0.1 (2012-02-15)\n------------------\n\n- Move ``zope.testing`` to test dependencies, add undeclared dependencies.\n\n\n1.0 (2011-10-10)\n----------------\n\n- Update implementation to use component-based template engine\n  configuration, plugging directly into the Zope Toolkit framework.\n\n  The package no longer provides template classes, or ZCML directives;\n  you should import directly from the ZTK codebase.\n\n  Also, note that the ``PREFER_Z3C_PT`` environment option has been\n  rendered obsolete; instead, this is now managed via component\n  configuration.\n\n- Upgrade to Chameleon 2.x.\n\n0.5.7 (2010-11-25)\n------------------\n\n- Added not yet declared test dependency on ``zope.testing``.\n\n- Fixed test tear down so tests can be run multiple times.\n\n\n0.5.6 (2010-04-19)\n------------------\n\n- Remove broken templates from registry during engine migration. In\n  some testing situation, stale templates would be tracked in the\n  regsitry.\n\n- Existing template instances are now migrated to the right engine\n  when using the ``enable`` and ``disable`` methods. [malthe]\n\n0.5.5 (2009-07-24)\n------------------\n\n- Make tests pass in a binary release by not relying on the pacakge structure.\n\n0.5.4 (2009-07-23)\n------------------\n\n- Added a test requirement explicitely.\n\n0.5.3 (2009-05-28)\n------------------\n\n- Added support for browser:addform, browser:editform, browser:form,\n  and browser:schemadisplay directives.\n\n0.5.2 (2009-03-09)\n------------------\n\n- Fixing brown-bag release 0.5.1.\n\n0.5.1 (2009-03-09)\n------------------\n\n- Added missing ``lxml`` test dependency.\n\n- Fixed tests to work with current version of z3c.pt.\n\n- Fixed autor e-mail address.\n\n- Added doctests and change log to long description to show up at pypi\n  homepage.\n\n- Reformatted release dates in change log to use iso dates.\n\n0.5 (2009-02-16)\n----------------\n\n- Added module which patches ``zope.app.pagetemplate`` such that\n  template classes depend on ``z3c.pt`` for rendering (import\n  optional). [malthe]\n\n0.4 (2009-02-10)\n----------------\n\n- Rename project to z3c.ptcompat to deal with setuptools issues (as discussed\n  on zope-dev http://mail.zope.org/pipermail/zope-dev/2008-December/033820.html)\n\n- Added optional option ``doctest`` for output checker to allow usage\n  with alternative implementations, e.g. the Zope doctest\n  module. [malthe]\n\n- Added tests for meta-directives and fixed some minor errors. [malthe]\n\n- Added update-tool to walk a source tree and automatically rewrite\n  template import statements in each file. [malthe]\n\n- Added meta-directives for browser pages and viewlets. These build\n  upon the original implementations, but make sure that the Chameleon\n  template engine is used. [malthe]\n\n- Added ``PageTemplateFile``. [malthe]\n\n0.3 (2008-10-02)\n----------------\n\n- Various changes.\n\n0.2 (2008-09-13)\n----------------\n\n- Various changes.\n\n0.1 (2008-09-09)\n----------------\n\n- Initial release.\n",
    "bugtrack_url": null,
    "license": "ZPL",
    "summary": "Zope-compatible page template engine based on Chameleon.",
    "version": "4.0",
    "project_urls": {
        "Homepage": "https://github.com/zopefoundation/z3c.ptcompat",
        "Issue Tracker": "https://github.com/zopefoundation/z3c.ptcompat/issues",
        "Sources": "https://github.com/zopefoundation/z3c.ptcompat"
    },
    "split_keywords": [
        "zpt",
        "template",
        "zope"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1708fe31900e92739f47f4e050781b167508595fed2d82bccc15d1e558ff90d3",
                "md5": "45af043c10f701ece033300a65cc4739",
                "sha256": "9d368b822b2b021bed3e088277d4bdddc498474d98c899c7fffbecdf3a9ec09f"
            },
            "downloads": -1,
            "filename": "z3c.ptcompat-4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "45af043c10f701ece033300a65cc4739",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 7700,
            "upload_time": "2024-06-07T06:36:36",
            "upload_time_iso_8601": "2024-06-07T06:36:36.757422Z",
            "url": "https://files.pythonhosted.org/packages/17/08/fe31900e92739f47f4e050781b167508595fed2d82bccc15d1e558ff90d3/z3c.ptcompat-4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8812bd981e8bd8afd2e09700890be99de8c54899b02e133580cc5a6183ff3425",
                "md5": "402f06fe0e8061e6bc1496b9826340d3",
                "sha256": "48c7e099421d093f107e1aed3b1b6b1132f6d59f9c3cc6090131f8112e9cfddb"
            },
            "downloads": -1,
            "filename": "z3c.ptcompat-4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "402f06fe0e8061e6bc1496b9826340d3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 11254,
            "upload_time": "2024-06-07T06:36:38",
            "upload_time_iso_8601": "2024-06-07T06:36:38.868801Z",
            "url": "https://files.pythonhosted.org/packages/88/12/bd981e8bd8afd2e09700890be99de8c54899b02e133580cc5a6183ff3425/z3c.ptcompat-4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-07 06:36:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zopefoundation",
    "github_project": "z3c.ptcompat",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "z3c.ptcompat"
}
        
Elapsed time: 0.23176s