httpcore2
A minimal low-level HTTP client.
Install
httpcore2 on PyPI
pip
pip install httpcore2uv
uv add httpcore2poetry
poetry add httpcore2Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — h11, truststore |
| 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: httpcore2-2.10.0-py3-none-any.whl
About httpcore2
from the package's own PyPI description — quoted content, verbatim
HTTPCore 2
Test Suite (image) Package version (image)
> Do one thing, and do it well.
The HTTPCore 2 package provides a minimal low-level HTTP client, which does one thing only. Sending HTTP requests.
It does not provide any high level model abstractions over the API, does not handle redirects, multipart uploads, building authentication headers, transparent HTTP caching, URL parsing, session cookie handling, content or charset decoding, handling JSON, environment based configuration defaults, or any of that Jazz.
Some things HTTPCore 2 does do:
- Sending HTTP requests.
- Thread-safe / task-safe connection pooling.
- HTTP(S) proxy & SOCKS proxy support.
- Supports HTTP/1.1 and HTTP/2.
- Provides both sync and async interfaces.
- Async backend support for
asyncioandtrio.
Installation
For HTTP/1.1 only support, install with:
pip install httpcore2
There are also a number of optional extras available...
```shell pip install...
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
HTTPCore 2 is a minimal low-level HTTP client library providing thread-safe and task-safe connection pooling with support for HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
Low install friction with only two runtime dependencies (h11 and truststore). Actively maintained with a release 4 days old; the repository shows recent commits and 909 stars. Supports Python 3.10–3.15.
BSD-3-Clause (permissive) allows commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
Usage
pip install httpcore2
import httpcore2
http = httpcore2.ConnectionPool()
response = http.request("GET", "https://www.example.com/")
print(response.status)
Requires Python 3.10 or later.
Verdict: HTTPCore 2 is a well-maintained, actively developed low-level HTTP client with minimal dependencies and no known vulnerabilities. Its permissive BSD-3-Clause license and recent release cadence make it suitable for production use, though it is intentionally bare-bones and best used as a foundation for higher-level libraries rather than directly in most applications.
Needs verification
- Whether optional extras (asyncio, trio, http2, socks) add significant install friction or are commonly required.
- Performance characteristics compared to alternatives for typical workloads.
- Adoption rate and stability signals beyond star count and release frequency.
Similar packages
permissive · top 100 on PyPI
mpmathpermissive · top 1,000 on PyPI
httpx2permissive · top 1,000 on PyPI
bleachpermissive · top 1,000 on PyPI
anyiopermissive · top 100 on PyPI
truststorepermissive · top 1,000 on PyPI
PySockspermissive · top 1,000 on PyPI
httpxpermissive · top 100 on PyPI
socksiopermissive · top 1,000 on PyPI
certificopyleft · top 100 on PyPI