{"id":23862,"library":"httpmorph","title":"httpmorph","description":"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.","status":"active","version":"0.2.8","language":"python","source_language":"en","source_url":"https://github.com/arman-bd/httpmorph","tags":["http","client","browser-fingerprinting","tls","http2","async"],"install":[{"cmd":"pip install httpmorph","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Main synchronous HTTP client.","symbol":"Client","correct":"from httpmorph import Client"},{"note":"Async client for asyncio.","symbol":"AsyncClient","correct":"from httpmorph import AsyncClient"},{"note":"Session object for persistent connections.","symbol":"Session","correct":"from httpmorph import Session"}],"quickstart":{"code":"from httpmorph import Client\n\nclient = Client()\nresponse = client.get('https://httpbin.org/get')\nprint(response.status_code)\nprint(response.text[:200])","lang":"python","description":"Basic synchronous GET request."},"warnings":[{"fix":"Client(os_user_agent=True)","message":"Default user agents may not match the system OS; always set `os_user_agent=True` for accurate fingerprinting.","severity":"gotcha","affected_versions":">=0.2.4"},{"fix":"Upgrade to >=0.2.0 and use `http2=True` parameter if needed.","message":"Version 0.2.0 introduced HTTP/2 support, changing the API for `Client` and `Session`. Code using older versions may need migration.","severity":"breaking","affected_versions":"<0.2.0"},{"fix":"Use `from httpmorph import AsyncClient` instead.","message":"Async imports from `httpmorph.async` are wrong; use direct `from httpmorph import AsyncClient`.","severity":"gotcha","affected_versions":">=0.2.0"},{"fix":"Use `from httpmorph import Client`.","message":"`httpmorph.client` submodule is deprecated in favor of directly importing from `httpmorph`.","severity":"deprecated","affected_versions":">=0.2.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"pip install httpmorph","cause":"httpmorph not installed.","error":"ModuleNotFoundError: No module named 'httpmorph'"},{"fix":"Use `from httpmorph import Client`","cause":"Incorrect import path (e.g., `from httpmorph.client import Client`).","error":"AttributeError: module 'httpmorph' has no attribute 'Client'"},{"fix":"client = Client(proxy='http://user:pass@host:port')","cause":"Proxy configuration not set correctly; httpmorph requires proxy URL and possibly authentication.","error":"RuntimeError: SSL error with proxy"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}