Skip to main content

Highest-performance Python HTTP client based on Rust Speed

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

requestx-1.0.11.tar.gz (285.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

requestx-1.0.11-cp312-cp312-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file requestx-1.0.11.tar.gz.

File metadata

  • Download URL: requestx-1.0.11.tar.gz
  • Upload date:
  • Size: 285.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for requestx-1.0.11.tar.gz
Algorithm Hash digest
SHA256 11d6eb79445ac105ea4a54b66ef559e7cbca249b6e6841adb0d3207c74a012b9
MD5 6245f36c5f1c32d5e27edca7481507c8
BLAKE2b-256 2664b1930b74536c79bf6786947598bbf58348fc60f18dd6c23175ec5afa7e31

See more details on using hashes here.

File details

Details for the file requestx-1.0.11-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for requestx-1.0.11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 799e9eca924c0b0ebef49e018a97639945254f258f7718bd5a80d96e7c719a8a
MD5 3d320db520e62c99644ab5a1c98185de
BLAKE2b-256 7ffd6d9d9465b30b6a7a4898100bf7e17379b3f49fdeefaf7718997e746f0b54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page