Comparison
html5lib vs justhtml vs pyquery 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 pure Python HTML5 parser that just works.
Actively maintained. Last release 7 days ago, commits in 19 of the last 26 weeks. A safe choice.
pip install justhtmlA jquery-like library for python
Maintained. Last release 4 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install pyqueryA 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
- html5lib is the most used: 29.5M downloads a month, 21× more than pyquery.
- justhtml is better maintained: Pythie’s Index 87 against 19.
- turbohtml is growing fastest: downloads +20% over the last month.
- turbohtml is the newcomer: first released Jun 2026.