Powerful and fast Rust-based HTTP client for Python, wrapping the popular reqwest crate. Current version 0.11.8, requires Python >=3.11. Release cadence is irregular with frequent bugfix releases.
pip install pyreqwestVerified import paths — ran on the pinned version, not inferred.
Basic synchronous HTTP GET request.
Do not try `await client.get(...)`. Use synchronous calls only.
Change to `header(key="X-Custom", value="val")`.
Always call `response.text()` with parentheses.
Use `client_builder.http2(True)` (boolean) as intended.
No dependency data recorded yet.