This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.
httpnex
httpnex is a fork of HTTPX — a fully featured HTTP client for Python 3, with sync and async APIs and support for HTTP/1.1 and HTTP/2.
httpnex is an independent fork and is not affiliated with or endorsed by Encode OSS Ltd or the HTTPX maintainers.
Installation
pip install httpnex
Optional extras:
pip install "httpnex[http2]" # HTTP/2 support
pip install "httpnex[socks]" # SOCKS proxy support
pip install "httpnex[brotli]" # brotli decoding
pip install "httpnex[zstd]" # zstandard decoding
pip install "httpnex[cli]" # command line client
Usage
>>> import httpnex
>>> r = httpnex.get('https://www.example.org/')
>>> r.status_code
200
>>> r.headers['content-type']
'text/html; charset=UTF-8'
Async:
import asyncio
import httpnex
async def main():
async with httpnex.AsyncClient() as client:
r = await client.get("https://www.example.org/")
print(r.status_code)
asyncio.run(main())
Command line (requires httpnex[cli]):
httpnex https://www.example.org/
Migrating from HTTPX
The API is the same as HTTPX — just change the import:
import httpnex as httpx
Features
- A broadly requests-compatible API.
- Standard synchronous and async interfaces.
- HTTP/1.1 and HTTP/2 support.
- Direct requests to WSGI / ASGI applications.
- Strict timeouts everywhere.
- Fully type annotated.
License
BSD-3-Clause. httpnex is based on HTTPX, Copyright В© 2019, Encode OSS Ltd. See LICENSE.md.
Metadata
Release files for httpnex 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| httpnex-0.1.1.tar.gz | 126.5 kB | Without provenance | Details for httpnex-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| httpnex-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for httpnex-0.1.1-py3-none-any.whl |
Total release size: 201.9 kB
Release files / httpnex-0.1.1.tar.gz
| Download URL | httpnex-0.1.1.tar.gz |
|---|---|
| Size | 126.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebb9702f3cac1c07fb74d7e99bac87ec6bbf68b070a5cd28d656887d3c730716
|
|
BLAKE2b-256 checksum How to use checksums |
92146d7305e373ea6da005df1288c4a48b01378a920f637bfec74e46bc648d8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.0
|
Release files / httpnex-0.1.1-py3-none-any.whl
| Download URL | httpnex-0.1.1-py3-none-any.whl |
|---|---|
| Size | 75.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29c05dd2282f67b68d580b0bf6e9444974a16553e708b57e2a54a6ff523b7634
|
|
BLAKE2b-256 checksum How to use checksums |
6fcd5a69af0fbe45f5d90bd5eaea3ad704e2cc8351150ba977ab7a122cc34fcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.0
|
Security for httpnex 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.