Registry / http-networking / httpr
library0.4.4pypypi✓ verified 90d 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.

pip install httpr
INSTALL
IMPORT
SIG · HTTPR
H
httpr
http-networkingpythonv0.4.4
harness data pending
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
✓ from httpr import Client
✗ from httpr.client import Client
Client is exported at package level since 0.4.0
AsyncClient
✓ from httpr import AsyncClient
✗ from httpr.async_client import AsyncClient
AsyncClient moved to top-level in 0.4.0

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 issues
breakingClient timeout is now specified via Client(timeout=...) instead of passing timeout to each request. Passing timeout as a request parameter will be ignored.
fix
Set timeout on Client constructor: client = Client(timeout=5.0)
affects: >=0.4.0
deprecatedThe 'proxies' parameter is deprecated in favor of 'proxy' (singular). Using 'proxies' will raise a warning.
fix
Replace proxies={'http':'...'} with proxy='...'
affects: >=0.3.5
gotchaClient is not thread-safe by default. Reusing a Client across threads may cause unexpected errors.
fix
Create a new Client per thread or use a client pool.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'httpr'
Package not installed or typo in package name (should be 'httpr', not 'httpr-client').
fix
pip install httpr
AttributeError: module 'httpr' has no attribute 'Client'
Using an outdated version (<0.4.0) where Client was in a submodule.
fix
Upgrade to 0.4.0+: pip install --upgrade httpr
httpr.ConnectError: All connection attempts failed
DNS resolution failure or network unreachable. Often due to missing proxy configuration.
fix
Check network/proxy. If using proxy, set Client(proxy='http://user:pass@host:port').
Upgrade
Version history
0.4.4latest on PyPI · released Apr 24, 2026
Audit
Dependencies
httpxrequiredUnderlying HTTP transport
h11requiredHTTP/1.1 support
httpcorerequiredConnection pooling
Agent activity
9 hits · last 30 days
node
8
Anthropic
1
Resources
httpr — pip install httpr · libregistry