Comparison
BeautifulSoup vs lxml vs parsel vs xmlschema
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Screen-scraping library
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install beautifulsoupPowerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
Actively maintained. Last release 3 days ago, commits in 19 of the last 26 weeks. A safe choice.
pip install lxmlParsel is a library to extract data from HTML and XML using XPath and CSS selectors
Actively maintained. Last release 2 months ago, commits in 18 of the last 26 weeks. A safe choice.
pip install parselAn XML Schema validator and decoder
Maintained. Last release 5 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install xmlschemaIn short
- BeautifulSoup looks abandoned: avoid it for new projects.
- lxml is the most used: 438M downloads a month, 56× more than xmlschema.
- Maintenance is comparable: parsel 87, lxml 85, xmlschema 43 on Pythie’s Index.
- xmlschema is growing fastest: downloads +13% over the last month.
- Safe default for a new project: lxml.
Side by side
| Metric | BeautifulSoup | lxml | parsel | xmlschema |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 85 | Pythie’s Index: 87 | Pythie’s Index: 43 |
| Verdict | Likely abandoned | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 152.7K | 438M | 3.3M | 7.8M |
| Downloads, month over month | -3% | +10% | -8% | +13% |
| GitHub stars | – | 3.1K | 1.4K | 475 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 34 | 9.4K | 218 | 169 |
| Last release | Oct 5, 2019 | Nov 29, 2026 | Sep 28, 2026 | Jun 30, 2026 |
| Releases, 12 months | 0 | 11 | 3 | 3 |
| Weeks with commits | – | 19 / 26 | 18 / 26 | 2 / 26 |
| Recent contributors | – | 11 | 8 | 5 |
| First release | Nov 2010 | Jul 2007 | Jul 2015 | May 2017 |
| Python versions | – | 3.8 – 3.15 | 3.10 – 3.15 | 3.10 – 3.15 |
| License | MIT | BSD-3-Clause | BSD-3-Clause | 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.