Comparison
cassetter vs httpretty vs pytest-recording vs responses
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Rust-powered HTTP cassette recorder for Python tests. Safe by default.
Actively maintained. Last release 5 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
pip install cassetterHTTP client mock for Python
Low maintenance activity. Last release over 5 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install httprettyA pytest plugin powered by VCR.py to record and replay HTTP traffic
Maintained. Last release 3 weeks ago, commits in 6 of the last 26 weeks. Weaker on security practices.
pip install pytest-recordingA utility library for mocking out the `requests` Python library.
Actively maintained. Last release 3 months ago, commits in 12 of the last 26 weeks. A safe choice.
pip install responsesIn short
- responses is the most used: 74.5M downloads a month, 16× more than pytest-recording.
- Maintenance is comparable: cassetter 79, responses 76, pytest-recording 67, httpretty 14 on Pythie’s Index.
- responses is growing fastest: downloads +15% over the last month.
- cassetter is the newcomer: first released Feb 2026.
- Safe default for a new project: responses.
Side by side
| Metric | cassetter | httpretty | pytest-recording | responses |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 79 | Pythie’s Index: 14 | Pythie’s Index: 67 | Pythie’s Index: 76 |
| Verdict | Actively maintained | Low maintenance activity | Maintained | Actively maintained |
| Downloads / month | 602.8K | 699.8K | 4.8M | 74.5M |
| Downloads, month over month | -10% | -10% | -12% | +15% |
| GitHub stars | 27 | 2.1K | 615 | 4.3K |
| Stars, last 7 days | +0 | +0 | +-1 | +1 |
| Direct dependents | 0 | 30 | 5 | 195 |
| Last release | Oct 29, 2026 | Aug 16, 2021 | Nov 15, 2026 | Aug 26, 2026 |
| Releases, 12 months | 22 | 0 | 3 | 4 |
| Weeks with commits | 11 / 26 | 1 / 26 | 6 / 26 | 12 / 26 |
| Recent contributors | 2 | 9 | 17 | 39 |
| First release | Feb 2026 | May 2011 | Jul 2019 | Nov 2013 |
| Python versions | – | 3.6 – 3.9 | 3.10 – 3.15 | 3.8 – 3.13 |
| License | MIT | MIT | MIT | Apache-2.0 |
| 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.