Comparison
html5lib vs markupever vs selectolax vs tinyhtml5
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 html5libThe fast, most optimal, and correct HTML & XML parsing library.
Actively maintained. Last release 2 weeks ago, commits in 6 of the last 26 weeks. A safe choice.
pip install markupeverA 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 tinyhtml5In short
- tinyhtml5 is the most used: 39.4M downloads a month.
- selectolax is better maintained: Pythie’s Index 82 against 45.
- markupever is growing fastest: downloads +50% over the last month.
- markupever is the newcomer: first released Mar 2025.
Side by side
| Metric | html5lib | markupever | selectolax | tinyhtml5 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 77 | Pythie’s Index: 82 | Pythie’s Index: 45 |
| Verdict | Low maintenance activity | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 29.5M | 91.6K | 6.7M | 39.4M |
| Downloads, month over month | +4% | +50% | +10% | +13% |
| GitHub stars | 1.2K | 41 | 1.7K | 10 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 860 | 1 | 312 | 11 |
| Last release | Jun 22, 2020 | Nov 16, 2026 | Oct 22, 2026 | Mar 5, 2026 |
| Releases, 12 months | 0 | 7 | 11 | 1 |
| Weeks with commits | 0 / 26 | 6 / 26 | 12 / 26 | 3 / 26 |
| Recent contributors | 24 | 3 | 5 | 16 |
| First release | Feb 2012 | Mar 2025 | May 2018 | Sep 2024 |
| Python versions | 3.5 – 3.8 | 3.10 – 3.15 | 3.9 – 3.15 | 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.