Skip to main content

zope.tal

Latest release Supported Python versions https://github.com/zopefoundation/zope.tal/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/zopefoundation/zope.tal/badge.svg?branch=master 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/

Changes

6.0 (2025-09-12)

  • Replace pkg_resources namespace with PEP 420 native namespace.

5.1.1 (2025-08-14)

  • Fix tests for Python 3.13.6+ compatibility.

5.1 (2025-02-14)

  • Add support for Python 3.12, 3.13.

  • Drop support for Python 3.7, 3.8.

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)

  • 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)

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)

  • 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)

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)

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.

Release files for zope.tal 6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zope.tal 6.0
File Size Uploaded
zope_tal-6.0.tar.gz 92.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zope.tal 6.0
File Interpreter ABI Platform
zope_tal-6.0-py3-none-any.whl Python 3 none any Details

Total release size: 227.7 kB

Release files / zope_tal-6.0.tar.gz

Download URL zope_tal-6.0.tar.gz
Size 92.4 kB
Tags Source
SHA-256 checksum
How to use checksums
726f1b6d46c5ce229ea0ee02138de0276de333c30853cd0a38b5981202ba3585
BLAKE2b-256 checksum
How to use checksums
71f3797db69325f81b52f62454e24dc3958fc5d293f3af8d390b293ef8ba96e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / zope_tal-6.0-py3-none-any.whl

Download URL zope_tal-6.0-py3-none-any.whl
Size 135.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa1f2e2656b9e177cbfc5e99a58511450e74567f3b8e939afd3ea148c87c9a61
BLAKE2b-256 checksum
How to use checksums
85bc7abf81fad6f008385879cec11082e6ab68d4ff2303244f2d4e929c6aa121
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

6.0 This release

2 release files

5.1.1

2 release files

5.1

2 release files

5.0.1

2 release files

5.0

2 release files

4.5

2 release files

4.4

2 release files

4.3.1

2 release files

4.3.0

2 release files

4.2.0

3 release files

4.1.1

1 release file

4.1.0

1 release file

4.0.0

1 release file

3.6.1

1 release file

3.6.0

1 release file

3.5.2

1 release file

3.5.1

1 release file

3.5.0

1 release file

3.4.1

1 release file

3.4.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page