Comparison
htmltools vs htpy vs hyperscript vs MarkupPy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Tools 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 htmltoolshtpy - HTML in Python
Maintained. Last release 6 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity.
pip install htpyHyperText 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 hyperscriptAn HTML/XML generator
Low maintenance activity. Last release 20 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install markuppyIn 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.
- Maintenance is comparable: htpy 48, htmltools 44, MarkupPy 30 on Pythie’s Index.
- htpy is growing fastest: downloads +32% over the last month.
Side by side
| Metric | htmltools | htpy | hyperscript | MarkupPy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 44 | Pythie’s Index: 48 | Pythie’s Index: 18 | Pythie’s Index: 30 |
| Verdict | Maintained | Maintained | Slowing down | Low maintenance activity |
| Downloads / month | 869.3K | 385K | 638.2K | 436.5K |
| Downloads, month over month | -6% | +32% | +22% | -24% |
| GitHub stars | 25 | 489 | 11 | 10 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 27 | 14 | 4 | 13 |
| Last release | May 21, 2026 | May 22, 2026 | Oct 22, 2024 | Mar 19, 2025 |
| Releases, 12 months | 2 | 3 | 0 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 6 | 13 | 1 | 6 |
| First release | Jul 2022 | Oct 2023 | Sep 2022 | Jul 2017 |
| Python versions | 3.10 – 3.14 | – | – | – |
| License | MIT | MIT | 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.