Comparison
htbuilder vs htmltools vs hyperscript vs yattag
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A purely-functional HTML builder for Python. Think JSX rather than templates.
Low maintenance activity. Last release 23 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install htbuilderTools for HTML generation and output.
Maintained. Last release 6 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install htmltoolsHyperText with Python
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install hyperscriptGenerate HTML or XML in a pythonic way. Pure python alternative to web template engines.Can fill HTML forms with default values and error messages.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install yattagIn short
- hyperscript is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- yattag is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- htmltools is the most used: 869.3K downloads a month.
- htmltools also has the best Pythie’s Index (44).
- htbuilder is growing fastest: downloads +78% over the last month.
Side by side
| Metric | htbuilder | htmltools | hyperscript | yattag |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 26 | 44 |