{"library":"httpcore","type":"library","category":null,"description":"httpcore is a minimal, low-level HTTP/1.1 and HTTP/2 client library for Python, intended as a transport layer for higher-level clients such as httpx. It provides synchronous and (optionally) asynchronous connection pooling, SOCKS proxy support, streaming responses, and a 'trace' extension for request lifecycle introspection. Current stable version is 1.0.9 (April 2025). The project follows SEMVER and releases several times per year.","language":"python","status":"active","version":"1.0.9","tags":["http","networking","client","low-level","transport","async","http2","socks","proxy","streaming"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install httpcore","imports":["import httpcore","import httpcore\nhttp = httpcore.ConnectionPool()","import httpcore\nhttp = httpcore.AsyncConnectionPool()","import httpcore\nproxy = httpcore.HTTPProxy(proxy_url='http://proxy:8080')","import httpcore\nresponse = httpcore.request('GET', 'https://example.com')"]},{"cmd":"pip install 'httpcore[asyncio]'","imports":[]},{"cmd":"pip install 'httpcore[trio]'","imports":[]},{"cmd":"pip install 'httpcore[http2]'","imports":[]},{"cmd":"pip install 'httpcore[socks]'","imports":[]},{"cmd":"pip install 'httpcore[asyncio,http2,socks]'","imports":[]}],"homepage":"https://www.encode.io/httpcore/","github":"https://github.com/encode/httpcore","docs":"https://www.encode.io/httpcore","changelog":null,"pypi":"https://pypi.org/project/httpcore/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2,"avg_import_s":0.45,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/httpcore/compatibility"}}