Subcategories
Packages
ASGI middleware that reads or generates correlation IDs for incoming requests and makes them available to logging, enabling you to trace all logs from a single HTTP request.
Install it if you need to correlate logs across your application; the setup overhead is low and the debugging value is high.
Automates DNS validation for Let's Encrypt certificate issuance by managing Cloudflare DNS records through Certbot's plugin system.
Install it if you use Cloudflare for DNS and want to automate Let's Encrypt certificate issuance via DNS validation; skip it only if you use a different DNS provider…
Mangum adapts ASGI applications to run on AWS Lambda, handling events from Function URLs, API Gateway (HTTP and REST), Application Load Balancer, and Lambda@Edge.
Install it if you need to run an ASGI application on AWS Lambda or are considering Lambda for an existing ASGI codebase.
Routes HTTP requests through Browser-Use's proxy infrastructure with Chrome TLS fingerprinting, session-based IP persistence, and server-side cookie management.
Provides a Python wrapper around the GitHub API (v3) to programmatically interact with GitHub repositories, issues, pull requests, users, and other GitHub resources.
Provides a Django model field for storing, validating, and formatting international phone numbers using Google's libphonenumber library.
Provides SOCKS4(a), SOCKS5(h), and HTTP CONNECT proxy client functionality with both synchronous and asynchronous (asyncio, trio, anyio) APIs for Python.
Install it if you need direct control over proxy connections or are building a library that wraps proxy functionality.
Implements the ACME protocol to automate certificate provisioning and renewal from Let's Encrypt and other ACME-compliant certificate authorities.
Install it if you need to automate certificate provisioning from Let's Encrypt or other ACME services, either as part of Certbot or as a library for custom…
Channels augments Django with WebSocket, long-poll HTTP, task offloading, and async support using familiar Django patterns and a flexible ASGI-based framework.
Install it if you need WebSocket or real-time async support in Django; pair it with Daphne and optionally channels_redis for production.
mitmproxy is an interactive, SSL/TLS-capable intercepting proxy that captures and inspects HTTP/1, HTTP/2, and WebSocket traffic with console, command-line, or web-based interfaces.
Install it if you need interactive traffic inspection, debugging, or testing capabilities.
Generates VAPID (Voluntary Application Server Identification) headers and key pairs for WebPush subscription authentication between application servers and push service providers.
Install it if you're building a WebPush notification system and need to authenticate with push service providers.
Prance parses and validates Swagger/OpenAPI 2.0 and 3.0 specifications in Python, resolving JSON references and external file paths according to the OpenAPI standard.
selectolax is a fast HTML5 parser with CSS selector support, written in Cython and backed by either the Modest or Lexbor C parsing engines.
Daphne is an ASGI server that handles HTTP, HTTP/2, and WebSocket protocols for Django Channels applications, with automatic protocol negotiation and support for multiple binding modes.
Install it if you are building a Django Channels application or need an ASGI server with native WebSocket and HTTP/2 support.
Retrieves the client's IP address from a Django request object, handling proxies and multiple header precedence orders to extract the originating client IP.
PycURL is a Python wrapper around libcurl that enables fetching URLs and performing multiprotocol file transfers with direct access to most of libcurl's functionality, including SSL, authentication, proxies, and callback support.
Encrypts and sends web push notifications to browser push services using the Web Push Protocol, handling VAPID authentication and RFC 8188 encryption standards.
Hishel is an HTTP caching library for Python that implements RFC 9111 specifications, providing RFC-compliant caching integration for popular HTTP clients like HTTPX, Requests, ASGI, and FastAPI with both synchronous and asynchronous support.
Install it if you need HTTP caching for HTTPX, Requests, FastAPI, or ASGI applications.
A Python client library for the WorkOS API that provides typed access to identity, organization, directory sync, and authorization services over HTTP.
Python SDK for programmatically controlling Airbyte Cloud, OSS, and Enterprise through an API, supporting both synchronous and asynchronous operations.
Lightweight Python client library for PagerDuty's REST API v2 and Events API v2, with built-in support for authentication, pagination, rate limiting, and connection pooling.
Parses multipart/form-data submissions with both incremental non-blocking and streaming blocking interfaces, supporting ASGI, asyncio, WSGI, and CGI applications.
Adds Kerberos/GSSAPI authentication support to the requests HTTP library, enabling secure authentication against Kerberos-protected servers with optional mutual authentication.
Provides aiohttp-based transports for httpx, allowing httpx to use aiohttp for low-level HTTP messaging while keeping httpx's high-level features like authentication, retries, and cookies.
Reads metadata (artist, title, duration, bitrate, and more) from audio files in formats including MP3, MP4, FLAC, OGG, WAV, and others, without writing or modifying tags.
Install it if you need to extract metadata from audio files without the overhead of a heavier library.
Extracts a client's IP address from web request headers, handling proxies and multiple header formats to identify the originating client in server applications.
However, do not rely on it as a primary security mechanism—always pair it with firewall rules and validate proxy chains carefully if IP spoofing is a concern in your…
Adds OAuth2 authorization server capabilities to Django applications, providing endpoints and logic to protect APIs with OAuth2 authentication and manage token issuance.
Install it if you need to add OAuth2 authentication or token management to a Django application.
Converts CSS style blocks into inline style attributes on HTML elements, making HTML suitable for email clients that don't support style tags.
Waybackpy provides Python and CLI access to the Internet Archive's Wayback Machine APIs—save pages, retrieve snapshots, and query historical web archives via SavePageNow, CDX Server, and Availability APIs.
However, be aware that it has been dormant since 2022—if the Wayback Machine APIs change significantly, you may need to fork or patch it yourself.
Bypasses Cloudflare's anti-bot protection by automatically solving JavaScript challenges, allowing HTTP requests to protected sites to succeed without manual intervention.
However, maintenance is aging—the last release was in April 2023—so if Cloudflare significantly changes their protection techniques, you may need to wait for updates…
Official Python SDK for xAI's APIs, providing synchronous and asynchronous clients to interact with text generation, image understanding, video generation, and structured output models.
Adds automatic request retry logic to HTTPX, with configurable backoff strategies and support for both sync and async clients.
Install it if you use HTTPX and need retry behavior; the defaults work out of the box.
Parses URL query strings and POST data into properly nested Python dictionaries, handling bracket notation like `section[0]['words'][2]` that standard Django QueryDict leaves as flat string keys.
However, do not install if you require active maintenance, security updates, or support for Python versions released after 2019.
Wraps the requests library to execute HTTP requests asynchronously using thread pools, returning futures instead of responses so multiple requests can be issued and resolved in parallel.
Not recommended if you require true async/await syntax or need to handle thousands of concurrent connections—consider a modern async HTTP library instead.
Provides function decorators for retrying operations with configurable backoff strategies when exceptions occur or predicates are met, supporting both synchronous and asynchronous code.
Install it if you need to add resilience to functions that interact with unreliable external resources.
Zenpy is a Python wrapper for the Zendesk, Chat, and HelpCentre APIs that simplifies programmatic interaction with Zendesk by caching objects and lazily evaluating attributes to minimize API calls.
However, its GPLv3 copyleft license is a hard constraint—only use it if your project is compatible with GPLv3 or if you can isolate it behind a service boundary.
httpr is a fast HTTP client for Python built on Rust that provides both sync and async interfaces as a drop-in replacement for httpx and requests, with support for HTTP/2, streaming, and mTLS.
However, note that fine-grained error handling is not yet implemented, so error recovery patterns may differ from httpx/requests.
A Python client library for the official Notion API that provides synchronous and asynchronous interfaces to query, create, and manage Notion databases, pages, and users.
Install it if you need to integrate Notion into a Python application or automate Notion workflows.
Retryhttp wraps HTTP client calls to automatically retry transient failures like rate limits, server errors, network issues, and timeouts, using sensible defaults but fully customizable retry and wait strategies.
Install it if you make HTTP calls that might fail transiently and want to avoid writing retry boilerplate.
Python client library for Supabase Auth that handles authentication and JWT token management via HTTP requests.