Metadata-Version: 2.1
Name: zope.tales
Version: 6.0
Summary: Zope Template Application Language Expression Syntax (TALES)
Home-page: https://github.com/zopefoundation/zope.tales
Author: Zope Foundation and Contributors
Author-email: zope-dev@zope.dev
License: ZPL 2.1
Project-URL: Documentation, https://zopetales.readthedocs.io/
Project-URL: Issue Tracker, https://github.com/zopefoundation/zope.tales/issues
Project-URL: Sources, https://github.com/zopefoundation/zope.tales
Keywords: zope template xml tales
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Framework :: Zope :: 3
Classifier: Framework :: Zope :: 5
Requires-Python: >=3.7
License-File: LICENSE.txt
Requires-Dist: setuptools
Requires-Dist: zope.interface
Provides-Extra: docs
Requires-Dist: Sphinx ; extra == 'docs'
Requires-Dist: repoze.sphinx.autointerface ; extra == 'docs'
Requires-Dist: zope.tal ; extra == 'docs'
Provides-Extra: tal
Requires-Dist: zope.tal ; extra == 'tal'
Provides-Extra: test
Requires-Dist: zope.testing ; extra == 'test'
Requires-Dist: zope.testrunner ; extra == 'test'

============
 zope.tales
============

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

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

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

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

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


``zope.tales`` (Template Attribute Language - Expression Syntax) is an
expression language designed to work with `zope.tal
<https://zopetal.readthedocs.io>`_ (although it can be used
independently). The two are integrated to produce page templates in
`zope.pagetemplate <https://zopepagetemplate.readthedocs.io/>`_.

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.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 <https://github.com/zopefoundation/zope.tales/issues/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 <https://github.com/zopefoundation/zope.tales/pull/15>`_)

- Flake8 the code.


4.3 (2018-10-05)
================

- Add support for Python 3.7.

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

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

.. 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.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)
==================

- Subexpressions of a 'string:' expression can be only path expressions.
  https://bugs.launchpad.net/zope.tales/+bug/1002242


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.
