← The log

pydantic/httpx2

★ 1,559 stars

Python

Covered in week 2026-W36 · the 2026-09 report

A next generation HTTP client for Python. πŸ¦‹

What httpx2 is

HTTPX2 is a fully featured HTTP client library for Python. It includes an integrated command line client, has support for both HTTP/1.1 and HTTP/2, and provides both sync and async APIs.

From the repository README · read it on GitHub →

05 Sep 2026 Β· 0:29
HTTPX2: Pydantic Just Took Over Python's HTTP Client
Watch on YouTube →

Transcript

The HTTP client your whole stack leans on goes quiet. HTTPX2 is Pydantic's continuation of HTTPX, a next generation HTTP client for Python. It ships a requests-compatible API, HTTP/1.1 and HTTP/2 support, sync and async interfaces, plus an integrated command line client. Strict timeouts, streaming downloads, and WSGI or ASGI transports round it out, so requests code moves over nearly unchanged.

View on GitHub