Registry / http-networking / httpmorph

httpmorph

JSON →
library0.2.8pypypi✓ verified 90d ago

A Python HTTP client library focused on mimicking browser fingerprints, supporting HTTP/2, async, and TLS fingerprint customization. Current version 0.2.8, updated Nov 2025. Releases every few months.

pip install httpmorph
INSTALL
IMPORT
SIG · HTTPMORPH
H
httpmorph
http-networkingpythonv0.2.8
Install
2.5s avg
Import
268ms
Disk
74MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.9–3.13
musl
3.9–3.13
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
musl
py 3.10–3.95 runs
build_error
glibc
py 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])
Debug
Known issues
gotchaDefault user agents may not match the system OS; always set `os_user_agent=True` for accurate fingerprinting.
fix
Client(os_user_agent=True)
affects: >=0.2.4
breakingVersion 0.2.0 introduced HTTP/2 support, changing the API for `Client` and `Session`. Code using older versions may need migration.
fix
Upgrade to >=0.2.0 and use `http2=True` parameter if needed.
affects: <0.2.0
gotchaAsync imports from `httpmorph.async` are wrong; use direct `from httpmorph import AsyncClient`.
fix
Use `from httpmorph import AsyncClient` instead.
affects: >=0.2.0
deprecated`httpmorph.client` submodule is deprecated in favor of directly importing from `httpmorph`.
fix
Use `from httpmorph import Client`.
affects: >=0.2.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'httpmorph'
httpmorph not installed.
fix
pip install httpmorph
AttributeError: module 'httpmorph' has no attribute 'Client'
Incorrect import path (e.g., `from httpmorph.client import Client`).
fix
Use `from httpmorph import Client`
RuntimeError: SSL error with proxy
Proxy configuration not set correctly; httpmorph requires proxy URL and possibly authentication.
fix
client = 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.

Agent activity
17 hits · last 30 days
node
16
Anthropic
1
Resources
httpmorph — pip install httpmorph · libregistry