Comparison
bs4 vs markupever vs parsel vs pyquery
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Dummy package for Beautiful Soup (beautifulsoup4)
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install bs4The fast, most optimal, and correct HTML & XML parsing library.
Actively maintained. Last release 2 weeks ago, commits in 7 of the last 26 weeks. A safe choice.
pip install markupeverParsel is a library to extract data from HTML and XML using XPath and CSS selectors
Actively maintained. Last release 2 months ago, commits in 16 of the last 26 weeks. A safe choice.
pip install parselA jquery-like library for python
Maintained. Last release 4 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install pyqueryIn short
- bs4 is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- parsel is the most used: 3.3M downloads a month.
- Maintenance is comparable: parsel 87, markupever 79, pyquery 43 on Pythie’s Index.
- markupever is growing fastest: downloads +42% over the last month.
- markupever is the newcomer: first released Mar 2025.
- Safe default for a new project: parsel.
Side by side
| Metric | bs4 | markupever | parsel | pyquery |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 79 |