encode/httpx
A next generation HTTP client for Python. 🦋 observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 74
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 8
- age_days: 2708
- days_rel: 635
- days_push: 158
- n_releases_24m: 2
Adoption not part of the score
15439 stars · 1259 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
HTTPX is a fully featured HTTP client library for Python 3 with sync and async APIs, HTTP/1.1 and HTTP/2 support, and a requests-compatible interface. It also ships an optional integrated command-line client for making HTTP requests from the terminal.
Use cases
- make http requests in python
- async http client for asyncio
- python alternative to requests with http2 support
- call rest apis from python
- test wsgi or asgi apps directly
- send http requests from the command line
- stream large file downloads in python
When to choose
- you want a modern requests-like API with async support
- you need HTTP/2, strict timeouts, or proxy support in Python
- you want to make requests against WSGI/ASGI apps in tests
When to avoid
- you need a full browser automation or scraping engine
- your project is pinned to Python < 3.9
- you only need a simple low-level socket transport (use httpcore)
Facets
library · maturity stable
http-client cli web-development developer-tools apis python cli cross-platform http2 async asyncio trio requests-compatible wsgi asgi
4 sources
- readme: https://github.com/encode/httpx · fetched 2026-08-28 · 9d6bb5d7e0e1
- homepage: https://www.python-httpx.org/ · fetched 2026-08-29 · 9f959f7b15b2
- site_page: https://www.python-httpx.org/quickstart · fetched 2026-08-29 · c579d863a601
- registry_pypi: https://pypi.org/pypi/httpx/json · fetched 2026-08-29 · b8156fd9969e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| encode/httpx | main | 67 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem