Comparison
DocumentTemplate vs Genshi vs Mako vs Tempita
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Document Templating Markup Language (DTML)
Maintained. Last release 3 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
pip install documenttemplateA toolkit for generation of output for the web
Maintained. Last release 5 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install genshiA super-fast templating language that borrows the best ideas from the existing templating languages.
Maintained. Last release 2 months ago, commits in 6 of the last 26 weeks. Weaker on contributor spread.
pip install makoA very small text templating language
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install tempitaIn short
- Tempita is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- Mako is the most used: 245.7M downloads a month, 1206× more than Genshi.
- Maintenance is comparable: Mako 68, DocumentTemplate 59, Genshi 56 on Pythie’s Index.
- Genshi is growing fastest: downloads +18% over the last month.
- Safe default for a new project: Mako.
Side by side
| Metric | DocumentTemplate | Genshi | Mako | Tempita |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 59 | Pythie’s Index: 56 | Pythie’s Index: 68 | Pythie’s Index: 25 |
| Verdict | Maintained | Maintained | Maintained | Slowing down |
| Downloads / month | 94K | 203.7K | 245.7M | 138K |
| Downloads, month over month | +12% | +18% | +17% | +10% |
| GitHub stars | 7 | 99 | 464 | 4 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 11 | 30 | 511 | 9 |
| Last release | Aug 20, 2026 | Oct 26, 2026 | Sep 22, 2026 | Nov 12, 2024 |
| Releases, 12 months | 4 | 2 | 5 | 0 |
| Weeks with commits | 2 / 26 | 4 / 26 | 6 / 26 | 0 / 26 |
| Recent contributors | 8 | 14 | 8 | 5 |
| First release | Jun 2010 | Jan 2014 | Dec 2006 | Jul 2007 |
| Python versions | 3.10 – 3.15 | – | 3.10 – 3.15 | – |
| License | ZPL-2.1 | BSD-3-Clause | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.