Comparison
aresponses vs pook vs pytest_httpserver vs responses
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Asyncio response mocking. Similar to the responses library used for 'requests'
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install aresponsesHTTP traffic mocking and expectations made easy
Maintained. Last release 2 days ago, commits in 1 of the last 26 weeks. Weaker on commit activity and security practices.
pip install pookpytest-httpserver is a httpserver for pytest
Actively maintained. Last release 4 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
pip install pytest-httpserverA utility library for mocking out the `requests` Python library.
Actively maintained. Last release 3 months ago, commits in 13 of the last 26 weeks. A safe choice.
pip install responsesIn short
- aresponses is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- responses is the most used: 73M downloads a month, 16× more than pytest_httpserver.
- Maintenance is comparable: pytest_httpserver 80, responses 78, pook 56 on Pythie’s Index.
- pytest_httpserver is growing fastest: downloads +12% over the last month.
- Safe default for a new project: responses.
Side by side
| Metric | aresponses | pook | pytest_httpserver | responses |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | Pythie’s Index: 56 | Pythie’s Index: 80 | Pythie’s Index: 78 |
| Verdict | Slowing down | Maintained | Actively maintained | Actively maintained |
| Downloads / month | 81.5K | 400.6K | 4.5M | 73M |
| Downloads, month over month | -22% | +0% | +12% | +10% |
| GitHub stars | 106 | 376 | 257 | 4.3K |
| Stars, last 7 days | +0 | +0 | +0 | +1 |
| Direct dependents | 2 | 3 | 8 | 195 |
| Last release | Jan 12, 2024 | Dec 4, 2026 | Nov 10, 2026 | Aug 26, 2026 |
| Releases, 12 months | 0 | 3 | 4 | 4 |
| Weeks with commits | 0 / 26 | 1 / 26 | 14 / 26 | 13 / 26 |
| Recent contributors | 11 | 17 | 7 | 39 |
| First release | Sep 2017 | Oct 2016 | Aug 2018 | Nov 2013 |
| Python versions | 3.7 – 3.12 | 3.10 – 3.15 | 3.11 – 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.