HTTPX
A next-generation HTTP client for Python with async support and HTTP/2.
Language: PythonCategory: HTTPFirst released: 2019Created by: Tom ChristieLicense: BSD
HTTPX is a modern, fully-featured HTTP client for Python that builds on the familiar requests API while adding native async support, HTTP/2, and connection pooling. It provides a synchronous and asynchronous interface from a single codebase, making it ideal for both traditional scripts and high-concurrency asyncio applications. Features include automatic connection reuse, streaming uploads and downloads, automatic retries with configurable backoff, comprehensive timeout control, and full type annotation support. HTTPX is the recommended HTTP client for modern Python development across APIs, web scraping, and microservices.
Links
Key Features
Async and sync APIHTTP/2 supportConnection poolingStreaming requests and responsesAutomatic retriesTimeout handlingType annotation support