Comparison
Chameleon vs Genshi vs Mako vs pybars4
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Fast HTML/XML Template Compiler.
Maintained. Last release 3 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install chameleonA 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 makoHandlebars.js templating for Python 3
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install pybars4In short
- pybars4 looks abandoned: avoid it for new projects.
- Mako is the most used: 245.7M downloads a month, 614× more than pybars4.
- Mako also has the best Pythie’s Index (68).
- Genshi is growing fastest: downloads +18% over the last month.
- Safe default for a new project: Mako.