Comparison
DocumentTemplate vs Genshi vs Jinja2 vs pystache
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 very fast and expressive template engine.
Low maintenance activity. Last release 21 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install jinja2Mustache for Python
Low maintenance activity. Last release 21 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pystacheIn short
- Jinja2 is the most used: 702.4M downloads a month, 197× more than pystache.
- DocumentTemplate is better maintained: Pythie’s Index 59 against 32.
- Genshi is growing fastest: downloads +14% over the last month.
Side by side
| Metric | DocumentTemplate | Genshi | Jinja2 | pystache |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 59 | Pythie’s Index: 56 | Pythie’s Index: 32 | Pythie’s Index: 30 |
| Verdict | Maintained | Maintained | Low maintenance activity | Low maintenance activity |
| Downloads / month | 92.3K | 199.9K | 702.4M | 3.6M |
| Downloads, month over month | +9% | +14% | +8% | +1% |
| GitHub stars | 7 | 99 | 11.8K | 19 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 11 | 30 | 16.7K | 127 |
| Last release | Aug 20, 2026 | Oct 26, 2026 | Mar 5, 2025 | Mar 18, 2025 |
| Releases, 12 months | 4 | 2 | 0 | 0 |
| Weeks with commits | 2 / 26 | 4 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 8 | 14 | 28 | 7 |
| First release | Jun 2010 | Jan 2014 | Jun 2008 | Nov 2009 |
| Python versions | 3.10 – 3.15 | – | – | 3.8 – 3.13 |
| License | ZPL-2.1 | BSD-3-Clause | non-standard | 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.