Registry /
type-stubs / types-python-http-client
Install & Compatibility
Where this runs
tested against v3.3.7.20260518 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
HTTPClient
✓ from python_http_client_stubs import HTTPClient
✗ from python_http_client-stubs import HTTPClient
Minimal usage of HTTPClient with SendGrid API. Requires python-http-client installed.
from python_http_client import HTTPClient
client = HTTPClient(host='https://api.sendgrid.com', request_headers={'Authorization': 'Bearer ' + os.environ.get('SENDGRID_API_KEY', '')})
response = client.get('/v3/mail/send')
print(response.status_code)
Upgrade
Version history
3.3.7.20260518latest on PyPI · released May 18, 2026
Audit
Dependencies
python-http-clientrequiredThe stubs are for this library; runtime dependency for actual HTTP calls.