Comparison
MechanicalSoup vs mechanize vs splinter vs zope.testbrowser
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Python library for automating interaction with websites
Maintained. Last release 18 months ago, commits in 6 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install mechanicalsoupStateful, programmatic web browsing
Maintained. Last release 10 days ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install mechanizebrowser abstraction for web acceptance testing
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install splinterProgrammable browser for functional black-box tests
Maintained. Last release 6 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install zope-testbrowserIn short
- splinter is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- mechanize is the most used: 203.9K downloads a month.
- Maintenance is comparable: zope.testbrowser 57, mechanize 53, MechanicalSoup 42 on Pythie’s Index.
- zope.testbrowser is growing fastest: downloads +13% over the last month.
Side by side
| Metric | MechanicalSoup | mechanize | splinter | zope.testbrowser |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 42 | 53 |