Comparison
MechanicalSoup vs mechanize 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 mechanizeProgrammable 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
- mechanize is the most used: 203.9K downloads a month, 1.6× more than MechanicalSoup.
- 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 | zope.testbrowser |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 42 | 53 |