Skip to main content

zope.tales

Latest release Supported Python versions https://github.com/zopefoundation/zope.tales/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/zopefoundation/zope.tales/badge.svg?branch=master Documentation Status

zope.tales (Template Attribute Language - Expression Syntax) is an expression language designed to work with zope.tal (although it can be used independently). The two are integrated to produce page templates in zope.pagetemplate.

The specification for TAL and TALES can be found at https://pagetemplates.readthedocs.io/en/latest/

Documentation on this implementation and its API can be found at https://zopetales.readthedocs.io/

Changes

6.1 (2025-02-14)

  • Add support for Python 3.12, 3.13.

  • Drop support for Python 3.7, 3.8.

  • tales.Context.getValue now returns the innermost (not outermost) value for the given variable. Fixes #19.

6.0 (2023-07-12)

  • Drop support for Python 2.7, 3.5, 3.6.

  • Add support for Python 3.11.

5.2 (2022-08-24)

  • Add support for Python 3.9, 3.10.

  • Fix error message raised if the first element of a path expression is not a valid name.

5.1 (2020-07-06)

  • Packaging and test configuration cleanups.

  • Improve PathExpr reusability Provide customizable support for the use of builtins in path expressions (#23).

5.0.2 (2020-03-27)

  • Cleanups for Plone 5.2:

    • in path alternatives, whitespace can now surround |,

    • non-ASCII in SubPathExpr now raises a CompilerError (instead of a UnicodeEncodeError; to be compatible with the chameleon template engine).

5.0.1 (2019-06-26)

  • Fix problem with list comprehensions not working in Python 3. This was due to the code not detecting variables used in side those expressions properly.

5.0 (2019-04-08)

  • Drop support for Python 3.4.

  • Fix test failures and deprecation warnings occurring when using Python 3.8a1. (#15)

  • Flake8 the code.

4.3 (2018-10-05)

4.2.0 (2017-09-22)

  • Add support for Python 3.5 and 3.6.

  • Drop support for Python 2.6, 3.2 and 3.3.

  • Drop support for python setup.py test.

  • Reach 100% test coverage and maintain it via tox.ini and Travis CI.

4.1.1 (2015-06-06)

  • Add support for Python 3.2 and PyPy3.

4.1.0 (2014-12-29)

  • Add support for Python 3.4.

  • Add support for testing on Travis.

4.0.2 (2013-11-12)

  • Add missing six dependency

4.0.1 (2013-02-22)

  • Fix a previously untested Python 3.3 compatibility problem.

4.0.0 (2013-02-14)

  • Remove hard dependency on zope.tal, which was already conditionalized but required via setup.py.

  • Add support for Python 3.3 and PyPy.

  • Replace deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.

  • Drop support for Python 2.4 and 2.5.

  • Fix documentation link in README.txt

3.5.2 (2012-05-23)

3.5.1 (2010-04-30)

  • Remove use of zope.testing.doctestunit in favor of stdlib’s ‘doctest.

3.5.0 (2010-01-01)

  • Port the lazy expression from Products.PageTemplates.

3.4.0 (2007-10-03)

  • Update package setup.

  • Initial release outside the Zope 3 trunk.

3.2.0 (2006-01-05)

  • Corresponds to the verison of the zope.tales package shipped as part of the Zope 3.2.0 release.

  • Documentation / test fixes.

3.0.0 (2004-11-07)

  • Corresponds to the verison of the zope.tales package shipped as part of the Zope X3.0.0 release.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zope_tales-6.1.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zope.tales-6.1-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file zope_tales-6.1.tar.gz.

File metadata

  • Download URL: zope_tales-6.1.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.11

File hashes

Hashes for zope_tales-6.1.tar.gz
Algorithm Hash digest
SHA256 3b60ea898f46fb3afe00a7a05dc288c4cc7097f45dadd8da799c253481ec5ce7
MD5 d886d8d2729da84d798edf3e4d8c313a
BLAKE2b-256 f7822b4bb838651e0ea176c74cb8b7e9e0913caf80990cedb297de5f641ab857

See more details on using hashes here.

File details

Details for the file zope.tales-6.1-py3-none-any.whl.

File metadata

  • Download URL: zope.tales-6.1-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.11

File hashes

Hashes for zope.tales-6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b6785cf2c7cadbc66af52e6f717482e82e6a740ca3971f8b134b64046dccefc0
MD5 532ab5b77f4ccbcd64d15f9a8fb892ad
BLAKE2b-256 053e2ec47de65076520f723035296a71515d0546720e3f90c896ac8a7ef9975b

See more details on using hashes here.

Release history Release notifications | RSS feed

7.0

2 files

This release

6.1 This release

2 files

6.0

2 files

5.2

2 files

5.1

2 files

5.0.2

2 files

5.0.1

2 files

5.0

2 files

4.3

2 files

4.2.0

2 files

4.1.1

2 files

4.1.0

1 file

4.0.2

1 file

4.0.1

1 file

4.0.0

1 file

3.5.3

1 file

3.5.2

1 file

3.5.1

1 file

3.5.0

1 file

3.4.1

1 file

3.4.0

1 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