zope.tales
Zope Template Application Language Expression Syntax (TALES)
Decision gist · record as of 2026-08-14
Yes, if you are building or maintaining a Zope-based application or template system. The package is stable, has no known vulnerabilities, and supports current Python versions with low install friction. No, if you are starting a new project—modern alternatives like Jinja2 or Mako offer broader ecosystem support and more active development. The aging maintenance status and narrow use case (primarily Zope integration) make it a specialized tool rather than a general-purpose choice.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; zope.interface must be installed as a runtime dependency.
- Low install friction with only two runtime dependencies (setuptools and zope.interface).
- The package is in aging maintenance status with the last commit on 2026-01-28, but remains actively supported for current Python versions (3.9 through 3.13).
License · maintenance · safety
ZPL-2.1 (unclear) — Licensed under ZPL-2.1 (Zope Public License), which is OSI-approved but has unclear treatment in some contexts. Verify compatibility with your project's license requirements before use.
last release 2025-09-12 (336 days) · last repo commit 2026-01-28 · 3 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 135,505 downloads/mo, #11,426 on PyPI
Alternatives
Verify before relying
pip install zope.tales
from zope.tales.engine import Engine
from zope.tales.tales import Context
engine = Engine()
context = Context(engine, {})
result = engine.compile('string:hello').eval(context)- Whether the package is actively maintained or in long-term stable mode given the 336 days since last release.
- Specific use cases beyond Zope framework integration where TALES expressions provide value over alternatives.
What it is and what it does
zope.tales is an expression language engine that interprets dynamic expressions within template contexts. It is designed primarily to integrate with zope.tal (Template Attribute Language) and zope.pagetemplate to enable server-side template rendering with dynamic variable substitution and expression evaluation. The package provides path expressions, string expressions, and other expression types that allow templates to reference variables, call methods, and perform conditional logic at render time.
The package depends on zope.interface for interface definitions and setuptools for packaging. It supports modern Python versions (3.9 through 3.13) and runs on both CPython and PyPy. The codebase has been maintained since 2007 and reached version 7.0 in 2025, with recent updates including PEP 420 namespace migration and Python 3.12/3.13 support. It is part of the broader Zope ecosystem and is typically used as a component within larger template-rendering systems rather than as a standalone tool.
Use it for
- Render Zope page templates with dynamic variable substitution and expression evaluation in web applications.
- Evaluate path expressions to access nested object attributes and method results within template contexts.
- Integrate expression evaluation into custom template engines or domain-specific languages built on Zope infrastructure.
- Process string expressions with embedded variable references in server-side template rendering pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or maintaining a Zope-based application or template system.
The package is stable, has no known vulnerabilities, and supports current Python versions with low install friction. No, if you are starting a new project—modern alternatives like Jinja2 or Mako offer broader ecosystem support and more active development. The aging maintenance status and narrow use case (primarily Zope integration) make it a specialized tool rather than a general-purpose choice.
Install
zope-tales on PyPI
Before you install
Low install friction with only two runtime dependencies (setuptools and zope.interface). The package is in aging maintenance status with the last commit on 2026-01-28, but remains actively supported for current Python versions (3.9 through 3.13).
Requires Python 3.9 or later; zope.interface must be installed as a runtime dependency.
License in practice
Licensed under ZPL-2.1 (Zope Public License), which is OSI-approved but has unclear treatment in some contexts. Verify compatibility with your project's license requirements before use.
Quickstart
pip install zope.tales
from zope.tales.engine import Engine
from zope.tales.tales import Context
engine = Engine()
context = Context(engine, {})
result = engine.compile('string:hello').eval(context)
Verify before relying
- Whether the package is actively maintained or in long-term stable mode given the 336 days since last release.
- Specific use cases beyond Zope framework integration where TALES expressions provide value over alternatives.
Package facts
| License | ZPL-2.1 unclear |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagessetuptoolszope.interface |
| Maintenance | Aging 336 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 135,505 / month, #11,426 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: Zope :: 3Framework :: Zope :: 5Intended Audience :: DevelopersLicense :: OSI Approved :: Zope Public LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTP |
Evidence: zope_tales-7.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “template expression language”
- zope.taleszope.tales provides an expression language for evaluating dynamic…
- zope.pagetemplatezope.pagetemplate provides a templating system that separates…
- zope.talzope.tal implements the Template Attribute Language (TAL) and Macro…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also zope.pagetemplate · zope.structuredtext · zope.tal · z3c.pt · DocumentTemplate · zope.exceptions · zope.viewlet · zope.ptresource · zope.contentprovider · Chameleon