RequestX
High-performance Python HTTP client, API-compatible with httpx, powered by Rust's reqwest via PyO3.
Installation
pip install requestx
Usage
import requestx
# Synchronous requests
response = requestx.get("https://httpbin.org/get")
print(response.json())
# Async requests
import asyncio
async def main():
async with requestx.AsyncClient() as client:
response = await client.get("https://httpbin.org/get")
print(response.json())
asyncio.run(main())
Features
- Drop-in replacement for httpx
- Powered by Rust's reqwest for high performance
- Full support for HTTP/1.1 and HTTP/2
- SIMD-accelerated JSON parsing via sonic-rs
- Compression support: gzip, brotli, deflate, zstd
License
MIT
Metadata
Release files for requestx 1.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| requestx-1.0.11.tar.gz | 285.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| requestx-1.0.11-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details |
Total release size: 3.6 MB
Release files / requestx-1.0.11.tar.gz
| Download URL | requestx-1.0.11.tar.gz |
|---|---|
| Size | 285.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11d6eb79445ac105ea4a54b66ef559e7cbca249b6e6841adb0d3207c74a012b9
|
|
BLAKE2b-256 checksum How to use checksums |
2664b1930b74536c79bf6786947598bbf58348fc60f18dd6c23175ec5afa7e31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / requestx-1.0.11-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | requestx-1.0.11-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.3 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
799e9eca924c0b0ebef49e018a97639945254f258f7718bd5a80d96e7c719a8a
|
|
BLAKE2b-256 checksum How to use checksums |
7ffd6d9d9465b30b6a7a4898100bf7e17379b3f49fdeefaf7718997e746f0b54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|