Packages
pygtrie provides pure Python implementations of trie (prefix tree) data structures—Trie, CharTrie, StringTrie, and PrefixSet—that implement the mutable mapping interface for efficient prefix-based lookups and storage.
However, verify that the empty requires_python field doesn't mask compatibility issues with your Python version, and be aware that bug fixes or updates are unlikely…
Pika is a pure-Python AMQP 0-9-1 client library for RabbitMQ that enables you to publish and consume messages over AMQP connections.
Install it if you need to communicate with RabbitMQ.
Fabric executes shell commands remotely over SSH and returns results as Python objects, building on Invoke for command execution and Paramiko for SSH protocol support.
Install it if you need programmatic remote command execution.
PyPika is a Python API for building SQL queries programmatically using a builder pattern, eliminating string formatting and concatenation while maintaining flexibility for complex queries.
Install it if you need to build queries dynamically or support multiple SQL dialects from Python code.
Adds JSON Web Token (JWT) authentication to Flask applications, protecting routes and managing token lifecycles with features like refresh tokens, token revocation, and custom claims.
Install it if you need JWT authentication in Flask; the API is straightforward and the optional features are genuinely useful for production applications.
Extracts and classifies properties from individual data values and matrices—type, alignment, width, digit counts, and formatting metadata for integers, floats, strings, booleans, datetimes, and special values like NaN and infinity.
Backrefs extends Python's re and regex libraries with additional backreference features and syntax not natively supported, such as Unicode property escapes and case-conversion backreferences.
Install only if your patterns genuinely require features beyond standard re or regex; otherwise, the added layer is unnecessary.
libtmux provides a typed Python API to control tmux (the terminal multiplexer) programmatically, letting you manage servers, sessions, windows, and panes as Python objects instead of parsing shell commands.
Implements topological sorting of directed acyclic graphs, ordering nodes so dependencies are processed before dependents.
Provides high-level Python APIs to connect to MinIO or Amazon S3-compatible object storage services for uploading, downloading, and managing files and buckets.
Install it if you need to work with object storage in your application.
Embeds ANSI color and style codes into Python strings for colored terminal output, supporting 8 basic colors, 256-color xterm palette, 24-bit RGB, and CSS color names.
Parses, validates, and composes URIs and URI references according to RFC 3986, providing RFC-compliant alternatives to Python's urllib.parse module.
Install it if you parse URIs from external sources or need standards-strict URI handling; skip it if urllib.parse's quirks are acceptable for your use case.
RQ is a Python library for queueing jobs and processing them in the background with workers, backed by Redis or Valkey. It handles job scheduling, prioritization, retries, and webhooks with a simple API.
A Python SDK for building agentic applications that communicate via the Agent2Agent (A2A) Protocol, supporting JSON-RPC, HTTP+JSON/REST, and gRPC transports with optional integrations for FastAPI, OpenTelemetry, and SQL databases.
altgraph constructs and analyzes graphs (networks), supporting BFS and DFS traversals, topological sorting, shortest paths, and graphviz output.
Apprise sends notifications to dozens of popular services (Telegram, Discord, Slack, Amazon SNS, Gotify, and many others) through a single unified library with a common syntax.
Install it if you need to send notifications to multiple platforms or want to avoid vendor lock-in to a single service.
Calls any Unix program as a Python function, replacing subprocess with a simpler interface that treats external commands as callable objects.
Install it if you regularly call Unix programs from Python and prefer a cleaner syntax than subprocess.
Generates Microsoft Excel 97–2003 XLS spreadsheet files from Python code with no external dependencies.
PyInstaller bundles a Python application and all its dependencies into a single standalone executable or folder that runs without requiring a Python interpreter or installed modules on the target system.
Install it if you need to distribute Python applications as standalone executables.
Pyclipper performs polygon clipping operations (intersection, union, difference, exclusive-or) and polygon offsetting using a Cython wrapper around the C++ Clipper library version 6.4.2.
Parses ISO 8601 and RFC 3339 date-time strings into Python datetime objects using a C implementation optimized for speed.
However, if you're on Python 3.11+ and performance is not critical, the built-in datetime module may be sufficient and simpler.
Performs speech recognition and transcription using multiple online and offline engines, including Google, OpenAI Whisper, CMU Sphinx, and others.
The main gotcha is that most engines require optional dependencies or API credentials.
HTTP client library that mimics real web browsers by impersonating specific browser profiles, enabling requests that bypass detection and fingerprinting.
Parses browser user agent strings to identify device type (mobile, tablet, PC), detect touch capabilities, and extract browser and OS information.
However, do not install if you require current detection of recent devices, browsers, or user agent formats—the package is abandoned and will not track new user agents.
Parses and manipulates Dockerfile files programmatically, allowing you to read, analyze, and modify Dockerfile structure and content through a Python API.
Automatically downloads, caches, and manages browser driver binaries for browser automation, resolving the need to manually handle driver installation and paths.
Parses JSON-like data from files containing syntax violations—single quotes, comments, unquoted keys, dangling commas, and hex/octal numbers—while tracking line and column positions for each element.
However, do not install if you require active bug fixes, security updates, or support for future Python versions—the last commit was 2022-11-28 and the project shows…
dpath lets you access, search, and modify nested dictionaries using glob-style path syntax (e.g., `/a/b/[cd]`), similar to filesystem navigation or XPath queries.
Install it if you work frequently with nested dictionaries or configuration structures.
Generates random or browser-specific user-agent strings from a pre-packaged database of real-world agents, with filtering by browser, OS, platform type, and minimum version.
However, the repository is now archived and abandoned, so the bundled user-agent database will not receive updates for new browser versions.
Hypercorn is an ASGI and WSGI web server supporting HTTP/1, HTTP/2, WebSockets, and optionally HTTP/3, with pluggable async worker types (asyncio, uvloop, trio).
autopep8 automatically reformats Python code to comply with PEP 8 style rules, using pycodestyle to identify formatting violations and applying fixes across indentation, whitespace, and comment spacing.
Install it if you want to automate formatting rather than enforce it via linting alone.
Connexion builds REST APIs from OpenAPI/Swagger specifications, automatically mapping routes, validating requests and responses, and handling parameter injection without decorators.
Provides a lightweight Python library for creating, manipulating, and traversing tree data structures with support for rendering and exporting trees in various formats.
Pydash provides a collection of functional utility functions for common programming tasks, ported from the Lo-Dash JavaScript library to Python.
Install it if you prefer functional programming patterns and want a comprehensive utility library; skip it if you need memory efficiency for large datasets or prefer…
Official Python SDK for ElevenLabs text-to-speech and conversational AI services, providing access to multiple voice models, voice cloning, real-time streaming, and agent-building capabilities.
A Sphinx extension that adds responsive web component directives for building styled cards, grids, tabs, and other layout elements in documentation.
Install it if you want modern design aesthetics in your docs; skip it if you're comfortable with plain Sphinx styling or prefer hand-coded HTML.
RxPY is a library for building asynchronous and event-based programs using observable sequences and composable operators, supporting both fluent method-chaining and functional pipe-based syntax.
Install it if you need to model asynchronous or event-driven workflows as composable data streams; it is particularly valuable for real-time systems, reactive UIs,…
PyYAML-ft is a YAML parser and emitter for Python 3.13 with support for free-threaded execution, allowing thread-safe YAML processing without the Global Interpreter Lock.
The aging maintenance status (430 days since last release) is acceptable given the package's stated purpose as a temporary fork pending upstream support; however,…
Svix is a Python client library for the Svix webhook service API, providing both synchronous and asynchronous interfaces to manage webhooks and verify webhook signatures.
Provides a Python client library for the Cloudflare REST API with both synchronous and asynchronous interfaces, full type hints, and automatic pagination support.
Install it if you need to interact with Cloudflare's API from Python—it is the canonical choice for this task.