Skip to content

Third Party Packages

As HTTPX usage grows, there is an expanding community of developers building tools and libraries that integrate with HTTPX, or depend on HTTPX. Here are some of them.

Plugins

Hishel

GitHub - Documentation

An elegant HTTP Cache implementation for HTTPX and HTTP Core.

HTTPX-Auth

GitHub - Documentation

Provides authentication classes to be used with HTTPX's authentication parameter.

httpx-caching

Github

This package adds caching functionality to HTTPX

httpx-secure

GitHub

Drop-in SSRF protection for httpx with DNS caching and custom validation support.

httpx-socks

GitHub

Proxy (HTTP, SOCKS) transports for httpx.

httpx-sse

GitHub

Allows consuming Server-Sent Events (SSE) with HTTPX.

httpx-retries

GitHub - Documentation

A retry layer for HTTPX.

httpx-ws

GitHub - Documentation

WebSocket support for HTTPX.

pytest-HTTPX

GitHub - Documentation

Provides a pytest fixture to mock HTTPX within test cases.

RESPX

GitHub - Documentation

A utility for mocking out HTTPX.

rpc.py

Github - Documentation

A fast and powerful RPC framework based on ASGI/WSGI. Use HTTPX as the client of the RPC service.

Libraries with HTTPX support

Authlib

GitHub - Documentation

A python library for building OAuth and OpenID Connect clients and servers. Includes an OAuth HTTPX client.

Gidgethub

GitHub - Documentation

An asynchronous GitHub API library. Includes HTTPX support.

httpdbg

GitHub - Documentation

A tool for python developers to easily debug the HTTP(S) client requests in a python program.

VCR.py

GitHub - Documentation

Record and repeat requests.

Gists

urllib3-transport

GitHub

This public gist provides an example implementation for a custom transport implementation on top of the battle-tested urllib3 library.