Stack Gems
Menu
← Catalog

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

Reviewed on Stack Gems
[![Reviewed on Stack Gems](https://stackgems.com/badge/httpx.svg)](https://stackgems.com/gems/httpx)

Related

Python