HTTPX
Async HTTP client for modern Python
Python / Tooling · OSS/MIT · 15.5k
What's Good
Sync and async clients share the same interface. HTTP/2 support is built-in. Connection pooling and timeouts work sensibly. The test client enables easy mocking.
The Catch
Another dependency when requests works for simple cases. Some requests plugins do not have HTTPX equivalents.
Verdict
The requests replacement for the async era.
Embed
[](https://stackgems.com/gems/httpx)