Registry / http-networking / httpr

httpr

JSON →
library0.4.4pypypi✓ verified 34d ago

Fast HTTP client for Python with built-in retries, timeouts, and connection pooling. Designed as a modern alternative to requests/httpx for high-performance use cases. Current version 0.4.4, monthly releases.

http-networking
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client is exported at package level since 0.4.0

from httpr import Client

AsyncClient moved to top-level in 0.4.0

from httpr import AsyncClient

Create a client and send a GET request.

from httpr import Client client = Client(base_url='https://httpbin.org') response = client.get('/get') print(response.status_code, response.json())
Debug
Known footguns
breakingClient timeout is now specified via Client(timeout=...) instead of passing timeout to each request. Passing timeout as a request parameter will be ignored.
deprecatedThe 'proxies' parameter is deprecated in favor of 'proxy' (singular). Using 'proxies' will raise a warning.
gotchaClient is not thread-safe by default. Reusing a Client across threads may cause unexpected errors.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
6 hits · last 30 days
ahrefsbot
3
claudebot
3
Resources