{"data":{"slug":"httpx","name":"HTTPX","tagline":"Async HTTP client for modern Python","category":"python","categoryName":"Python","url":"https://www.python-httpx.org","github":"https://github.com/encode/httpx","pricing":"open-source","hook":"HTTPX is requests for the async era.","whatsGood":"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.","theCatch":"Another dependency when requests works for simple cases. Some requests plugins do not have HTTPX equivalents.","verdict":"The requests replacement for the async era.","addedAt":"2026-08-18","featured":false,"domain":"Python","subSpecialty":"Tooling","capabilities":["http"],"surfaces":["API","Self-host"],"ecosystem":["Python"],"licenseModel":"OSS/MIT","githubStars":15460},"related":[{"slug":"fastapi","name":"FastAPI","tagline":"Modern Python APIs at startup speed"},{"slug":"pydantic","name":"Pydantic","tagline":"Data validation using Python type hints"},{"slug":"uv","name":"uv","tagline":"Python packaging at Rust speed"},{"slug":"ruff","name":"Ruff","tagline":"Python linter faster than your test suite"},{"slug":"polars","name":"Polars","tagline":"DataFrames that respect your CPU"}],"links":{"self":"/api/gems/httpx","html":"/gems/httpx","markdown":"/gems/httpx.md","category":"/api/gems?category=python","categoryPage":"/stacks/python"}}