Comparison
htbuilder vs htmltools vs hyperscript vs tinyhtml
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 hyperscriptA tiny library to safely render compact HTML5 from Python expressions.
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 tinyhtmlIn short
- hyperscript 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 | tinyhtml |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 26 | Pythie’s Index: 44 | Pythie’s Index: 18 | Pythie’s Index: 20 |
| Verdict | Low maintenance activity | Maintained | Slowing down | Low maintenance activity |
| Downloads / month | 296.8K | 869.3K | 638.2K | 79.8K |
| Downloads, month over month | +78% | -6% | +22% | +22% |
| GitHub stars | 104 | 25 | 11 | 20 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 5 | 27 | 4 | 5 |
| Last release | Jan 9, 2025 | May 21, 2026 | Oct 22, 2024 | Jan 11, 2025 |
| Releases, 12 months | 0 | 2 | 0 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 4 | 6 | 1 | 2 |
| First release | Mar 2020 | Jul 2022 | Sep 2022 | Oct 2020 |
| Python versions | – | 3.10 – 3.14 | – | 3.8 – 3.13 |
| License | Apache-2.0 | MIT | MIT | Apache-2.0 OR 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.