Comparison
html5lib vs selectolax vs tinyhtml5 vs turbohtml
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
HTML parser based on the WHATWG HTML specification
Low maintenance activity. Last release over 6 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install html5libA fast HTML5 parser with CSS selectors, written in Cython, using the Lexbor engine.
Actively maintained. Last release 6 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
pip install selectolaxHTML parser based on the WHATWG HTML specification
Maintained. Last release 9 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install tinyhtml5A fast, fully typed HTML toolkit for Python, powered by a C-accelerated core.
Actively maintained. Last release 7 days ago, commits in 25 of the last 26 weeks. A safe choice.
pip install turbohtmlIn short
- tinyhtml5 is the most used: 39.4M downloads a month.
- selectolax is better maintained: Pythie’s Index 82 against 45.
- turbohtml is growing fastest: downloads +20% over the last month.
- turbohtml is the newcomer: first released Jun 2026.
Side by side
| Metric | html5lib | selectolax | tinyhtml5 | turbohtml |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 82 | Pythie’s Index: 45 | Pythie’s Index: 79 |
| Verdict | Low maintenance activity | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 29.5M | 6.7M | 39.4M | 234.9K |
| Downloads, month over month | +4% | +10% | +13% | +20% |
| GitHub stars | 1.2K | 1.7K | 10 | 21 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 860 | 312 | 11 | 0 |
| Last release | Jun 22, 2020 | Oct 22, 2026 | Mar 5, 2026 | Nov 23, 2026 |
| Releases, 12 months | 0 | 11 | 1 | 44 |
| Weeks with commits | 0 / 26 | 12 / 26 | 3 / 26 | 25 / 26 |
| Recent contributors | 24 | 5 | 16 | 1 |
| First release | Feb 2012 | May 2018 | Sep 2024 | Jun 2026 |
| Python versions | 3.5 – 3.8 | 3.9 – 3.15 | 3.10 – 3.14 | 3.11 – 3.15 |
| 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.