--- id: httpx2 version: "2.10.0" license: BSD-3-Clause license_treatment: permissive maintenance: active --- # httpx2 — The next generation HTTP client. License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install httpx2 uv add httpx2 poetry add httpx2 ## Description

HTTPX2

A next-generation HTTP client for Python.

Test Suite Package version

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**. > [!NOTE] > HTTPX2 is a continuation of the wonderful work started by [@lovelydinosaur](https://github.com/lovelydinosaur) and the broader HTTPX community. We're enormously grateful for everything that has gone into HTTPX over the years - it has been a foundational piece of the modern Python ecosystem, and this project would not exist without it. > > With HTTPX itself seeing limited activity recently, Pydantic is picking up stewardship under the HTTPX2 name so that users have a reliably maintained path forward - including timely security updates for a library that sits in the critical... ## AI interpretation — verify before relying A modern, fully-featured HTTP client for Python with support for HTTP/1.1 and HTTP/2, both sync and async APIs, and an integrated command-line interface. It provides a requests-compatible API with strict timeouts and type annotations. Verdict: A production-ready HTTP client backed by Pydantic with active maintenance, no known vulnerabilities, and low install friction. Its permissive BSD-3-Clause license, broad Python version support (3.10–3.15), and dual sync/async capabilities make it a solid choice for modern Python projects requiring HTTP functionality. [View on SkillFed](https://skillfed.io/packages/httpx2) · [View on PyPI](https://pypi.org/project/httpx2/)