A blazing-fast Python HTTP client with TLS fingerprint
Actively maintained. Last release 9 months ago, commits in 18 of the last 26 weeks. A safe choice.
pip install rnetrnet
🚀 Help me work seamlessly with open source sharing by sponsoring me on GitHub
A blazing-fast Python HTTP client with advanced browser fingerprinting that accurately emulates Chrome, Firefox, Safari, Opera, and OkHttp, with precise TLS/HTTP2 signatures, and powered by wreq for high performance, outperforming requests, httpx, and curl_cffi (see benchmark).
Features
- Async and Blocking
Clients - Plain bodies, JSON, urlencoded, multipart
- Cookie Store
- Header Order
- Redirect Policy
- Rotating Proxies
- Connection Pooling
- Streaming Transfers
- Zero-Copy Transfers
- WebSocket Upgrade
- Async DNS Resolver
- HTTPS via BoringSSL
- Free-Threaded Safety
- Automatic Decompression
Example
This asynchronous example demonstrates how to make a simple GET request using the rnet library. So you need install rnet and run the following code:
pip install asyncio rnet
And then the code: