Tempita
A very small text templating language
Decision gist · record as of 2026-08-14
Yes, if you are already using Tempita or need a zero-dependency templating solution for a stable, mature codebase. No, if you are starting a new project—consider Jinja2 or another actively maintained alternative instead. The package is reliable but dormant; install only when its specific lightweight design and lack of dependencies outweigh the lack of active maintenance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with no runtime dependencies.
- The package is dormant (last release 2024-11-12, no commits since), so expect no active maintenance or bug fixes, though the stable codebase has been in use since 2007.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use Tempita in commercial and proprietary projects with minimal restrictions, provided you include the license notice.
last release 2024-11-12 (640 days) · last repo commit 2024-11-12 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 135,357 downloads/mo, #11,437 on PyPI
Alternatives
Verify before relying
import tempita
tmpl = tempita.Template("Hello {{name}}")
result = tmpl.substitute(name='World')
print(result) # Output: Hello World- Whether the package works reliably with modern Python versions (requires_python is unspecified in metadata)
- Current state of the GitHub repository and whether it accepts contributions or pull requests
What it is and what it does
Tempita is a minimal templating engine designed for cases where Python's % formatting or string.Template are insufficient but a full-featured templating system is overkill. It was created to replace Cheetah in Paste Script, avoiding the installation friction of C extensions while providing control flow (if/elif/else, for loops) and template inheritance. The language uses {{...}} delimiters for variable substitution, filters, and directives; templates can inherit from other templates and define reusable blocks.
The package has no runtime dependencies and installs as a pure Python wheel. It executes arbitrary Python code within templates, so templates must be trusted. The codebase has been stable since 2007 and is no longer actively developed—it is maintained in a dormant state, suitable for projects that have already adopted it but not recommended for new projects seeking active support.
Use it for
- Generate HTML or text output from templates in web frameworks or WSGI applications without heavyweight dependencies
- Create configuration files or code generation templates with conditional sections and loops
- Render email templates or reports with variable substitution and simple control flow
- Build reusable template hierarchies where child templates override or extend parent templates
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using Tempita or need a zero-dependency templating solution for a stable, mature codebase.
No, if you are starting a new project—consider Jinja2 or another actively maintained alternative instead. The package is reliable but dormant; install only when its specific lightweight design and lack of dependencies outweigh the lack of active maintenance.
Install
tempita on PyPI
Before you install
Installation is straightforward with no runtime dependencies. The package is dormant (last release 2024-11-12, no commits since), so expect no active maintenance or bug fixes, though the stable codebase has been in use since 2007.
License in practice
MIT license is permissive; you can use Tempita in commercial and proprietary projects with minimal restrictions, provided you include the license notice.
Quickstart
import tempita
tmpl = tempita.Template("Hello {{name}}")
result = tmpl.substitute(name='World')
print(result) # Output: Hello World
Verify before relying
- Whether the package works reliably with modern Python versions (requires_python is unspecified in metadata)
- Current state of the GitHub repository and whether it accepts contributions or pull requests
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 640 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 135,357 / month, #11,437 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Topic :: Text Processing |
Evidence: Tempita-0.6.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 › “lightweight text templating”
- TempitaTempita is a lightweight templating engine that processes text…
- empyEmPy is a templating system that embeds Python code directly into…
- MarkupPyMarkupPy generates HTML and XML markup from Python code using an…
Give your agent the search over MCP, or paste the wish link into any chat.
More Text Processing packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.
Install it if you need to parse text or define grammars programmatically.
fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.
Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.
Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.
tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.
Install it if your project requires CSS tokenization or syntax manipulation.
See also Jinja2 · ct3 · Cheetah3 · Mako · sphinxcontrib.datatemplates · yte · htbuilder · envtpl · py3o.template · jsonnet