python-httpx
Port variant v13
Summary Next generation HTTP client (3.13)
Package version 0.28.1
Homepage https://github.com/encode/httpx
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v14
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 22 MAY 2026, 14:41:05 UTC
Port created 14 MAY 2026, 22:09:26 UTC
Subpackage Descriptions
single

[image]

HTTPX - A next-generation HTTP client for Python.

[image] [image]

HTTPX is a fully featured HTTP client library for Python 3. It includes **an integrated command line client**, has support for both **HTTP/1.1 and HTTP/2**, and provides both **sync and async APIs**. --- Install HTTPX using pip: ```shell $ pip install httpx ``` Now, let's get started: ```pycon >>> import httpx >>> r = httpx.get('https://www.example.org/') >>> r >>> r.status_code 200 >>> r.headers['content-type'] 'text/html; charset=UTF-8' >>> r.text '\n\n\nExample Domain...' ``` Or, using the command-line client. ```shell $ pip install 'httpx[cli]' # The command line client is an optional dependency. ``` Which now allows us to use HTTPX directly from the command-line...

[image]

Sending a request...

[image]

## Features HTTPX builds on the well-established usability of `requests`, and gives you: * A broadly [requests-compatible API]. * An integrated command-line client. * HTTP/1.1 [and HTTP/2 support]. * Standard synchronous interface, but with [async support if you need it]. * Ability to make requests directly to [WSGI applications] or [ASGI applications]. * Strict timeouts everywhere. * Fully type annotated. * 100% test coverage. Plus all the standard features of `requests`... * International Domains and URLs * Keep-Alive & Connection Pooling * Sessions with Cookie Persistence * Browser-style SSL Verification * Basic/Digest Authentication * Elegant Key/Value Cookies * Automatic Decompression * Automatic Content Decoding * Unicode Response Bodies * Multipart File Uploads * HTTP(S) Proxy Support * Connection Timeouts * Streaming Downloads * .netrc Support * Chunked Requests ## Installation Install with pip: ```shell $ pip install httpx
Configuration Switches (platform-specific settings discarded)
PY313 ON Build using Python 3.13 PY314 OFF Build using Python 3.14
Package Dependencies by Type
Build (only) python313:dev:std
python-pip:single:v13
autoselect-python:single:std
Build and Runtime python313:primary:std
Runtime (only) python-anyio:single:v13
python-certifi:single:v13
python-httpcore:single:v13
python-idna:single:v13
Download groups
main mirror://PYPIWHL/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2
Distribution File Information
d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad 73517 python-src/httpx-0.28.1-py3-none-any.whl
Ports that require python-httpx:v13
python-puccinialin:v13 Bootstraps rust-based python modules (3.13)