$npx skillfedfor your agent

httpx

The next generation HTTP client.

Worth itPyPI WWW/HTTPReleased Dec 2024797.0M downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — httpx-0.28.1-py3-none-any.whl
v0.28.1 · released 2024-12-06 · Python >=3.8 · 4 runtime deps: anyio, certifi, httpcore, idna

Yes. HTTPX is a top-100 PyPI package with active maintenance, zero known vulnerabilities, low install friction, and a permissive BSD license. It is the right choice if you need modern async/await support, HTTP/2, or a requests-compatible API with better type safety. Install it if you are building new projects or modernizing existing ones that rely on HTTP.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later.
  • Low install friction with a pure-wheel distribution and four lightweight runtime dependencies (anyio, certifi, httpcore, idna).
  • Actively maintained with recent commits and a large community (15417 stars); last release was 616 days ago.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute HTTPX freely provided you retain the license notice.

last release 2024-12-06 (616 days) · last repo commit 2026-03-29 · 15,417 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 796,983,818 downloads/mo, #35 on PyPI

Verify before relying

pip install httpx

import httpx
r = httpx.get('https://www.example.org/')
print(r.status_code)
  • Whether optional extras (http2, cli, socks, brotli, zstd) are pre-installed or must be specified separately at install time.
  • Performance characteristics and concurrency limits compared to other HTTP clients in real-world workloads.
Same gist for agents: .md · .json

What it is and what it does

HTTPX is a modern HTTP client library for Python that replaces the traditional requests library with a more contemporary design. It provides a requests-compatible API so developers familiar with requests can adopt it easily, while adding native support for both synchronous and asynchronous code paths, HTTP/2 protocol, and strict timeouts by default. The library is fully type-annotated and includes an optional command-line interface.

The package depends on httpcore for low-level transport, certifi for SSL certificate validation, idna for internationalized domain names, and anyio for async compatibility. It supports standard HTTP features like connection pooling, cookie persistence, authentication, streaming downloads, and proxy support. Optional dependencies enable HTTP/2, SOCKS proxies, and enhanced terminal output for the CLI.

Use it for

  • Building modern async web scrapers or API clients that need concurrent request handling without threading complexity.
  • Replacing requests in existing projects to gain HTTP/2 support and better async/await integration.
  • Writing command-line tools that make HTTP requests, using the optional CLI interface.
  • Testing WSGI or ASGI applications directly without running a server, using built-in transport adapters.
  • Developing applications requiring strict timeout enforcement and type safety across all HTTP operations.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

HTTPX is a top-100 PyPI package with active maintenance, zero known vulnerabilities, low install friction, and a permissive BSD license. It is the right choice if you need modern async/await support, HTTP/2, or a requests-compatible API with better type safety. Install it if you are building new projects or modernizing existing ones that rely on HTTP.

Install

httpx on PyPI

Before you install

Low install friction with a pure-wheel distribution and four lightweight runtime dependencies (anyio, certifi, httpcore, idna). Actively maintained with recent commits and a large community (15417 stars); last release was 616 days ago.

Requires Python 3.8 or later.

License in practice

BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute HTTPX freely provided you retain the license notice.

Quickstart

pip install httpx

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

Verify before relying

  • Whether optional extras (http2, cli, socks, brotli, zstd) are pre-installed or must be specified separately at install time.
  • Performance characteristics and concurrency limits compared to other HTTP clients in real-world workloads.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
anyiocertifihttpcoreidna
MaintenanceActively maintained 616 days since the last release
Last repo commit
First released
Downloads796,983,818 / month, #35 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: Web EnvironmentFramework :: 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.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP

Evidence: httpx-0.28.1-py3-none-any.whl

Tags

Capabilities
http client library pythonasync http requestshttp/2 support pythonrequests alternativesync and async httppython http clientcommand line http tool
Topics
http-clientasync-iohttp2

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “requests alternative”

  • httpxHTTPX is a fully featured HTTP client library for Python that…
  • DrissionPageDrissionPage is a Python web automation tool that controls…
  • urlpathURLPath extends pathlib.PurePath to treat URLs as filesystem-like…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo
yarl Worth it
PyPI · Python Modules · released Jul 2026

yarl provides an immutable URL class for parsing, decomposing, and constructing URLs with automatic percent-encoding and decoding of URL components.

permissive licensepure Python · 3.10+
621.4Mdownloads / mo

See also httpr · httpx2 · httpx-aiohttp · urllib3-future · httpx-socks · httpcore2 · pytest-httpx · httpx-oauth