skillfed

httpcore2

A minimal low-level HTTP client.

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

Install

httpcore2 on PyPI

pip

pip install httpcore2

uv

uv add httpcore2

poetry

poetry add httpcore2

Package 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

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 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 asyncio and trio.

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.
low-level http clienthttp connection poolingasync http libraryhttp/2 supportproxy http clientminimal http networkingthread-safe http pool

Similar packages