Comparison
pook vs pytest-httpx vs requests-mock vs respx
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
HTTP traffic mocking and expectations made easy
Low maintenance activity. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pookSend responses to httpx.
Maintained. Last release 8 months ago, commits in 9 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install pytest-httpxMock out responses from the requests package
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install requests-mockA utility for mocking out the Python HTTPX and HTTP Core libraries.
Low maintenance activity. Last release 8 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install respxIn short
- requests-mock is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- respx is the most used: 33.1M downloads a month, 1.7× more than requests-mock.
- pytest-httpx is better maintained: Pythie’s Index 55 against 34.
- respx is growing fastest: downloads +12% over the last month.
Side by side
| Metric | pook | pytest-httpx | requests-mock | respx |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 37 | Pythie’s Index: 55 | Pythie’s Index: 21 | Pythie’s Index: 34 |
| Verdict | Low maintenance activity | Maintained | Slowing down | Low maintenance activity |
| Downloads / month | 384.4K | 12M | 19.2M | 33.1M |
| Downloads, month over month | +1% | -30% | -3% | +12% |
| GitHub stars | 376 | 455 | 465 | 847 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 3 | 14 | 224 | 53 |
| Last release | Mar 6, 2026 | Apr 9, 2026 | Mar 29, 2024 | Apr 8, 2026 |
| Releases, 12 months | 2 | 2 | 0 | 2 |
| Weeks with commits | 0 / 26 | 9 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 16 | 7 | 30 | 19 |
| First release | Oct 2016 | Feb 2020 | Jun 2014 | Nov 2019 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.14 | 3.8 – 3.12 | 3.8 – 3.14 |
| License | MIT | MIT | Apache-2.0 | BSD-3-Clause |
| 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.