zope.tal


Namezope.tal JSON
Version 5.0.1 PyPI version JSON
download
home_pagehttps://github.com/zopefoundation/zope.tal
SummaryZope Template Application Language (TAL)
upload_time2023-01-23 09:42:14
maintainer
docs_urlNone
authorZope Foundation and Contributors
requires_python>=3.7
licenseZPL 2.1
keywords zope template xml tal
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==========
 zope.tal
==========

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

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

.. image:: https://github.com/zopefoundation/zope.tal/actions/workflows/tests.yml/badge.svg
        :target: https://github.com/zopefoundation/zope.tal/actions/workflows/tests.yml

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

.. image:: https://readthedocs.org/projects/zopetal/badge/?version=latest
        :target: https://zopetal.readthedocs.io/en/latest/
        :alt: Documentation Status

The Zope3 Template Attribute Languate (TAL) specifies the custom namespace
and attributes which are used by the Zope Page Templates renderer to inject
dynamic markup into a page.  It also includes the Macro Expansion for TAL
(METAL) macro language used in page assembly.

The dynamic values themselves are specified using a companion language,
TALES (see the `zope.tales`_ package for more).

The reference documentation for the TAL language is available at https://pagetemplates.readthedocs.io/en/latest/tal.html

Detailed documentation for this implementation and its API is available at https://zopetal.readthedocs.io/


.. _`zope.tales` :  https://zopetales.readthedocs.io


=========
 Changes
=========

5.0.1 (2023-01-23)
==================

- Add missing ``python_requires`` to ``setup.py``.


5.0 (2023-01-19)
================

- Add support for Python 3.11.

- Drop support for Python 2.7, 3.5, 3.6.

- Add support for Python 3.10.

- Add ``nav`` to the list of HTML block level elements.
  (`#18 <https://github.com/zopefoundation/zope.tal/pull/18>`_)

- Remove ``.talgettext.UpdatePOEngine`` and the ability to call
  ``zope/tal/talgettext.py`` (main function). The code was broken and unused.

- Remove support to run the tests using deprecated ``python setup.py test``.


4.5 (2021-05-28)
================

- Avoid traceback reference cycle in ``TALInterpreter.do_onError_tal``.

- Add support for Python 3.8 and 3.9.

- Drop support for Python 3.4.


4.4 (2018-10-05)
================

- Add support for Python 3.7.

4.3.1 (2018-03-21)
==================

- Host documentation at https://zopetal.readthedocs.io

- Fix a ``NameError`` on Python 3 in talgettext.py affecting i18ndude.
  See https://github.com/zopefoundation/zope.tal/pull/11

4.3.0 (2017-08-08)
==================

- Drop support for Python 3.3.

- Add support for Python 3.6.

4.2.0 (2016-04-12)
==================

- Drop support for Python 2.6 and 3.2.

- Accept and ignore ``i18n:ignore`` and ``i18n:ignore-attributes`` attributes.
  For compatibility with other tools (such as ``i18ndude``).

- Add support for Python 3.5.

4.1.1 (2015-06-05)
==================

- Suppress deprecation under Python 3.4 for default ``convert_charrefs``
  argument (passed to ``HTMLParser``).  Also ensures that upcoming change
  to the default in Python 3.5 will not affect us.

- Add support for Python 3.2 and PyPy3.

4.1.0 (2014-12-19)
==================

.. note::

   Support for PyPy3 is pending release of a fix for:
   https://bitbucket.org/pypy/pypy/issue/1946

- Add support for Python 3.4.

- Add support for testing on Travis.


4.0.0 (2014-01-13)
==================

- Fix possible UnicodeDecodeError in warning when msgid already exists.


4.0.0a1 (2013-02-15)
====================

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

- Add support for Python 3.3 and PyPy.

- Drop support for Python 2.4 and 2.5.

- Output attributes generate via ``tal:attributes`` and ``i18n:attributes``
  directives in alphabetical order.


3.6.1 (2012-03-09)
==================

- Avoid handling end tags within <script> tags in the HTML parser. This works
  around http://bugs.python.org/issue670664

- Fix documentation link in README.txt.

3.6.0 (2011-08-20)
==================

- Update `talinterpreter.FasterStringIO` to faster list-based implementation.

- Increase the default value of the `wrap` argument from 60 to 1023 characters,
  to avoid extra whitespace and line breaks.

- Fix printing of error messages for msgid conflict with non-ASCII texts.


3.5.2 (2009-10-31)
==================

- In ``talgettext.POEngine.translate``, print a warning if a msgid already
  exists in the domain with a different default.


3.5.1 (2009-03-08)
==================

- Update tests of "bad" entities for compatibility with the stricter
  HTMLParser module shipped with Python 2.6.x.


3.5.0 (2008-06-06)
==================

- Remove artificial addition of a trailing newline if the output doesn't end
  in one; this allows the template source to be the full specification of what
  should be included.
  (See https://bugs.launchpad.net/launchpad/+bug/218706.)


3.4.1 (2007-11-16)
==================

- Remove unnecessary ``dummyengine`` dependency on zope.i18n to
  simplify distribution.  The ``dummyengine.DummyTranslationDomain``
  class no longer implements
  ``zope.i18n.interfaces.ITranslationDomain`` as a result.  Installing
  zope.tal with easy_install or buildout no longer pulls in many
  unrelated distributions.

- Support running tests using ``setup.py test``.

- Stop pinning (no longer required) ``zope.traversing`` and
  ``zope.app.publisher`` versions in buildout.cfg.


3.4.0 (2007-10-03)
==================

- Update package meta-data.


3.4.0b1
=======

- Update dependency on ``zope.i18n`` to a verions requiring the correct
  version of ``zope.security``, avoiding a hidden dependency issue in
  ``zope.security``.

.. note::

   Changes before 3.4.0b1 where not tracked as an individual
   package and have been documented in the Zope 3 changelog.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zopefoundation/zope.tal",
    "name": "zope.tal",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "zope template xml tal",
    "author": "Zope Foundation and Contributors",
    "author_email": "zope-dev@zope.org",
    "download_url": "https://files.pythonhosted.org/packages/f5/c8/dc51eb13a13e8e9d965bda205a50c589f12d33f3892f776f49b94a2a07fe/zope.tal-5.0.1.tar.gz",
    "platform": null,
    "description": "==========\n zope.tal\n==========\n\n.. image:: https://img.shields.io/pypi/v/zope.tal.svg\n        :target: https://pypi.python.org/pypi/zope.tal/\n        :alt: Latest release\n\n.. image:: https://img.shields.io/pypi/pyversions/zope.tal.svg\n        :target: https://pypi.org/project/zope.tal/\n        :alt: Supported Python versions\n\n.. image:: https://github.com/zopefoundation/zope.tal/actions/workflows/tests.yml/badge.svg\n        :target: https://github.com/zopefoundation/zope.tal/actions/workflows/tests.yml\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/zope.tal/badge.svg?branch=master\n        :target: https://coveralls.io/github/zopefoundation/zope.tal?branch=master\n\n.. image:: https://readthedocs.org/projects/zopetal/badge/?version=latest\n        :target: https://zopetal.readthedocs.io/en/latest/\n        :alt: Documentation Status\n\nThe Zope3 Template Attribute Languate (TAL) specifies the custom namespace\nand attributes which are used by the Zope Page Templates renderer to inject\ndynamic markup into a page.  It also includes the Macro Expansion for TAL\n(METAL) macro language used in page assembly.\n\nThe dynamic values themselves are specified using a companion language,\nTALES (see the `zope.tales`_ package for more).\n\nThe reference documentation for the TAL language is available at https://pagetemplates.readthedocs.io/en/latest/tal.html\n\nDetailed documentation for this implementation and its API is available at https://zopetal.readthedocs.io/\n\n\n.. _`zope.tales` :  https://zopetales.readthedocs.io\n\n\n=========\n Changes\n=========\n\n5.0.1 (2023-01-23)\n==================\n\n- Add missing ``python_requires`` to ``setup.py``.\n\n\n5.0 (2023-01-19)\n================\n\n- Add support for Python 3.11.\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n- Add support for Python 3.10.\n\n- Add ``nav`` to the list of HTML block level elements.\n  (`#18 <https://github.com/zopefoundation/zope.tal/pull/18>`_)\n\n- Remove ``.talgettext.UpdatePOEngine`` and the ability to call\n  ``zope/tal/talgettext.py`` (main function). The code was broken and unused.\n\n- Remove support to run the tests using deprecated ``python setup.py test``.\n\n\n4.5 (2021-05-28)\n================\n\n- Avoid traceback reference cycle in ``TALInterpreter.do_onError_tal``.\n\n- Add support for Python 3.8 and 3.9.\n\n- Drop support for Python 3.4.\n\n\n4.4 (2018-10-05)\n================\n\n- Add support for Python 3.7.\n\n4.3.1 (2018-03-21)\n==================\n\n- Host documentation at https://zopetal.readthedocs.io\n\n- Fix a ``NameError`` on Python 3 in talgettext.py affecting i18ndude.\n  See https://github.com/zopefoundation/zope.tal/pull/11\n\n4.3.0 (2017-08-08)\n==================\n\n- Drop support for Python 3.3.\n\n- Add support for Python 3.6.\n\n4.2.0 (2016-04-12)\n==================\n\n- Drop support for Python 2.6 and 3.2.\n\n- Accept and ignore ``i18n:ignore`` and ``i18n:ignore-attributes`` attributes.\n  For compatibility with other tools (such as ``i18ndude``).\n\n- Add support for Python 3.5.\n\n4.1.1 (2015-06-05)\n==================\n\n- Suppress deprecation under Python 3.4 for default ``convert_charrefs``\n  argument (passed to ``HTMLParser``).  Also ensures that upcoming change\n  to the default in Python 3.5 will not affect us.\n\n- Add support for Python 3.2 and PyPy3.\n\n4.1.0 (2014-12-19)\n==================\n\n.. note::\n\n   Support for PyPy3 is pending release of a fix for:\n   https://bitbucket.org/pypy/pypy/issue/1946\n\n- Add support for Python 3.4.\n\n- Add support for testing on Travis.\n\n\n4.0.0 (2014-01-13)\n==================\n\n- Fix possible UnicodeDecodeError in warning when msgid already exists.\n\n\n4.0.0a1 (2013-02-15)\n====================\n\n- Replace deprecated ``zope.interface.implements`` usage with equivalent\n  ``zope.interface.implementer`` decorator.\n\n- Add support for Python 3.3 and PyPy.\n\n- Drop support for Python 2.4 and 2.5.\n\n- Output attributes generate via ``tal:attributes`` and ``i18n:attributes``\n  directives in alphabetical order.\n\n\n3.6.1 (2012-03-09)\n==================\n\n- Avoid handling end tags within <script> tags in the HTML parser. This works\n  around http://bugs.python.org/issue670664\n\n- Fix documentation link in README.txt.\n\n3.6.0 (2011-08-20)\n==================\n\n- Update `talinterpreter.FasterStringIO` to faster list-based implementation.\n\n- Increase the default value of the `wrap` argument from 60 to 1023 characters,\n  to avoid extra whitespace and line breaks.\n\n- Fix printing of error messages for msgid conflict with non-ASCII texts.\n\n\n3.5.2 (2009-10-31)\n==================\n\n- In ``talgettext.POEngine.translate``, print a warning if a msgid already\n  exists in the domain with a different default.\n\n\n3.5.1 (2009-03-08)\n==================\n\n- Update tests of \"bad\" entities for compatibility with the stricter\n  HTMLParser module shipped with Python 2.6.x.\n\n\n3.5.0 (2008-06-06)\n==================\n\n- Remove artificial addition of a trailing newline if the output doesn't end\n  in one; this allows the template source to be the full specification of what\n  should be included.\n  (See https://bugs.launchpad.net/launchpad/+bug/218706.)\n\n\n3.4.1 (2007-11-16)\n==================\n\n- Remove unnecessary ``dummyengine`` dependency on zope.i18n to\n  simplify distribution.  The ``dummyengine.DummyTranslationDomain``\n  class no longer implements\n  ``zope.i18n.interfaces.ITranslationDomain`` as a result.  Installing\n  zope.tal with easy_install or buildout no longer pulls in many\n  unrelated distributions.\n\n- Support running tests using ``setup.py test``.\n\n- Stop pinning (no longer required) ``zope.traversing`` and\n  ``zope.app.publisher`` versions in buildout.cfg.\n\n\n3.4.0 (2007-10-03)\n==================\n\n- Update package meta-data.\n\n\n3.4.0b1\n=======\n\n- Update dependency on ``zope.i18n`` to a verions requiring the correct\n  version of ``zope.security``, avoiding a hidden dependency issue in\n  ``zope.security``.\n\n.. note::\n\n   Changes before 3.4.0b1 where not tracked as an individual\n   package and have been documented in the Zope 3 changelog.\n",
    "bugtrack_url": null,
    "license": "ZPL 2.1",
    "summary": "Zope Template Application Language (TAL)",
    "version": "5.0.1",
    "split_keywords": [
        "zope",
        "template",
        "xml",
        "tal"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "95117347999cf60f7a40e0062ea38955ab004c973fe58a8ad42099e4ac553bdc",
                "md5": "cd8b408430bc8bc484d1320ab8d7df1c",
                "sha256": "a25020172500e95c293be0601200521596c8bee30f6cf4da8e224a004baac319"
            },
            "downloads": -1,
            "filename": "zope.tal-5.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cd8b408430bc8bc484d1320ab8d7df1c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 135895,
            "upload_time": "2023-01-23T09:42:12",
            "upload_time_iso_8601": "2023-01-23T09:42:12.825019Z",
            "url": "https://files.pythonhosted.org/packages/95/11/7347999cf60f7a40e0062ea38955ab004c973fe58a8ad42099e4ac553bdc/zope.tal-5.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f5c8dc51eb13a13e8e9d965bda205a50c589f12d33f3892f776f49b94a2a07fe",
                "md5": "2b73caaff5b64b3c4effcb2411c601ae",
                "sha256": "3440e3b7bc8ea6395628b0cf15f2aa74027b8a0a742032740eec98881e14d7a7"
            },
            "downloads": -1,
            "filename": "zope.tal-5.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "2b73caaff5b64b3c4effcb2411c601ae",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 91313,
            "upload_time": "2023-01-23T09:42:14",
            "upload_time_iso_8601": "2023-01-23T09:42:14.799315Z",
            "url": "https://files.pythonhosted.org/packages/f5/c8/dc51eb13a13e8e9d965bda205a50c589f12d33f3892f776f49b94a2a07fe/zope.tal-5.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-23 09:42:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "zopefoundation",
    "github_project": "zope.tal",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "zope.tal"
}
        
Elapsed time: 0.04730s