--- id: respx version: "0.23.1" license: BSD-3-Clause license_treatment: permissive maintenance: active --- # respx — A utility for mocking out the Python HTTPX and HTTP Core libraries. License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install respx uv add respx poetry add respx ## Description
RESPX - Mock HTTPX with awesome request patterns and response side effects.
--- [](https://github.com/lundberg/respx/actions/workflows/test.yml) [](https://codecov.io/gh/lundberg/respx) [](https://pypi.org/project/respx/) [](https://pypi.org/project/respx/) [](https://pypi.org/project/respx/) ## Documentation Full documentation is... ## AI interpretation — verify before relying respx mocks the httpx HTTP client library for testing, letting you define request patterns and stub responses without hitting real servers. Verdict: respx is a stable, well-maintained mocking utility for httpx with no known vulnerabilities, permissive licensing, and low install friction. It is suitable for test suites that need to stub HTTP interactions without external dependencies. [View on SkillFed](https://skillfed.io/packages/respx) · [View on PyPI](https://pypi.org/project/respx/)