Install & Compatibility
Where this runs
tested against v0.2.8 · 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
build_error
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.5s · import 0.268s · 76MB
74MB installed
● package 74MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Client
✓ from httpmorph import Client
Main synchronous HTTP client.
AsyncClient
✓ from httpmorph import AsyncClient
Async client for asyncio.
Session
✓ from httpmorph import Session
Session object for persistent connections.
Basic synchronous GET request.
from httpmorph import Client
client = Client()
response = client.get('https://httpbin.org/get')
print(response.status_code)
print(response.text[:200])
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'httpmorph'
httpmorph not installed.
AttributeError: module 'httpmorph' has no attribute 'Client'
Incorrect import path (e.g., `from httpmorph.client import Client`).
fixUse `from httpmorph import Client`
RuntimeError: SSL error with proxy
Proxy configuration not set correctly; httpmorph requires proxy URL and possibly authentication.
fixclient = Client(proxy='http://user:pass@host:port')
Upgrade
Version history
0.2.8latest on PyPI · released Dec 10, 2025
Audit
Dependencies
No dependency data recorded yet.