python-httpx
Port variant v15
Summary Next generation HTTP client (3.15)
Package version 0.29.0
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 26 NOV 2026, 17:32:35 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)
PY314 OFF Build using Python 3.14 PY315 ON Build using Python 3.15
Package Dependencies by Type
Build (only) python315:dev:std
python-pip:single:v15
autoselect-python:single:std
Build and Runtime python315:primary:std
Runtime (only) python-anyio:single:v15
python-certifi:single:v15
python-httpcore:single:v15
python-idna:single:v15
Download groups
main mirror://PYPIWHL/82/c6/dddba524648da23345e446e6413530474e19e44122dba752d34ae7c4ae57
Distribution File Information
6734dcf742ced6e8018e45d3f9f7728975b6b3e1085a24f3e2c056069d858bd1 73532 python-src/httpx-0.29.0-py3-none-any.whl
Ports that require python-httpx:v15
python-puccinialin:v15 Bootstraps rust-based python modules (3.15)