skillfed

httpx2

The next generation HTTP client.

httpx2 Permissive license BSD-3-Clause Active 909 v2.10.0 released

Install

httpx2 on PyPI

pip

pip install httpx2

uv

uv add httpx2

poetry

poetry add httpx2

Package facts

License BSD-3-Clause (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 6 — anyio, httpcore2, httpx2-jsfetch, idna, truststore, typing-extensions
Maintenance actively maintained — 4 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: httpx2-2.10.0-py3-none-any.whl

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: AnyIOFramework :: AsyncIOFramework :: TrioIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Topic :: Internet :: WWW/HTTP

About httpx2

from the package's own PyPI description — quoted content, verbatim

<h1 align="center">HTTPX2</h1>

<p align="center"><em>A next-generation HTTP client for Python.</em></p>

<p align="center"> <a href="https://github.com/pydantic/httpx2/actions"><img src="https://github.com/pydantic/httpx2/workflows/Test%20Suite/badge.svg" alt="Test Suite"></a> <a href="https://pypi.org/project/httpx2/"><img src="https://badge.fury.io/py/httpx2.svg" alt="Package version"></a> </p>

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 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...

Read as markdown · JSON record · Source repository · Homepage

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

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.

Low friction: pure Python wheel with six runtime dependencies (anyio, httpcore2, httpx2-jsfetch, idna, truststore, typing-extensions). Actively maintained by Pydantic with release 4 days old and last commit 2026-08-13; marked Production/Stable.

BSD-3-Clause permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects.

Usage

pip install httpx2

import httpx2
r = httpx2.get('https://www.example.org/')
print(r.status_code)

Requires Python 3.10 or later.

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.

Needs verification

  • Whether httpx2-jsfetch is a required runtime dependency or optional for WebAssembly use only
  • Performance characteristics compared to the original httpx project it continues
http client pythonasync http requestshttp/2 supportrequests alternativepython http librarysync async http clientcommand line http tool

Similar packages