Packages
PyOTP generates and verifies one-time passwords (HOTP and TOTP) for implementing two-factor and multi-factor authentication in web applications and other systems.
html5lib parses HTML documents into a tree structure conforming to the WHATWG HTML specification, the standard implemented by all major web browsers.
Provides Python APIs for Delta Lake, an ACID-transactional storage layer that runs on Apache Spark to unify batch and streaming data processing with reliable metadata handling.
Install it if you use Apache Spark and need transaction guarantees or unified batch/streaming semantics; skip it if you don't use Spark or don't need those guarantees.
Flit-core provides the build backend for packaging Python modules and packages for distribution on PyPI, handling wheel and source distribution creation from minimal metadata.
Strands Agents is a Python SDK for building AI agents that work with multiple model providers and integrates with Model Context Protocol (MCP) servers to access pre-built tools.
SentencePiece is an unsupervised text tokenizer and detokenizer that converts text into token IDs or subword pieces, and reconstructs text from tokens. It supports single and batch encoding/decoding with multiple output formats including NumPy arrays, offset mappings, and Protobuf messages.
A framework for building multi-agent LLM workflows with support for text, voice, realtime, and sandbox agents, including tools, guardrails, handoffs, and human-in-the-loop capabilities.
Parses human-readable date and time strings (like "tomorrow" or "next Friday") into structured time values and Python datetime objects.
agate is a Python data analysis library designed for readable, human-friendly code that handles tabular data manipulation, filtering, aggregation, and analysis without requiring numpy or pandas.
Provides Python models, async transports, and helper utilities for building agents and clients that comply with the Agent Client Protocol (ACP) specification.
Provides a simple synchronous event publishing and dispatching system for Python applications, allowing decoupled event notification between publishers and subscribers.
However, verify ZPL-2.1 license compatibility first (metadata marks it unclear), and confirm that synchronous-only dispatch meets your needs—if you require async…
Provides a platform-independent file locking API that works identically on Unix and Windows systems, using atomic filesystem operations (link on Unix, mkdir on Windows) to coordinate exclusive access to files.
mock provides a backport of Python's standard library unittest.mock for Python 3.6 and later, allowing you to replace parts of your system under test with mock objects and assert how they were used.
Provides a connection pool for Psycopg 3, managing reusable PostgreSQL database connections to reduce overhead and improve performance in applications that make frequent database queries.
Testcontainers spins up Docker containers on demand during tests to provide real service instances without manual setup or teardown.
Install it if you write integration tests and want to avoid mocks or manual container setup.
Validates common data types and formats (email, URL, IP address, credit card, etc.) with simple function calls, without requiring schema definitions.
Generates correct English plurals, singulars, ordinals, indefinite articles, and word-based number representations through a rule-based engine.
Install it if your application generates user-facing English text that must agree in number or convert numbers to words.
Generates country- and subdivision-specific government holiday calendars on demand, supporting 250 country codes with optional language localization and holiday categories.
pybind11 is a header-only C++ library that creates Python bindings for C++ code, mapping C++ types, functions, classes, and STL containers to Python with minimal boilerplate.
Parses HTML5 documents—including malformed ones—into an ElementTree structure, providing a lightweight alternative to full-featured HTML parsers.
Provides utility functions, custom data types, and helpers that extend SQLAlchemy's core functionality for common database modeling and validation tasks.
Python SDK for LlamaParse, an enterprise OCR and document parsing API that enables programmatic extraction and processing of structured data from documents.
Fetches financial and market data from Yahoo Finance's public APIs, including ticker information, historical prices, and live streaming data.
However, do not use it for commercial applications or high-volume data collection without confirming compliance with Yahoo's terms of service.
TensorBoard is a web-based visualization suite for inspecting TensorFlow training runs, displaying scalar metrics, histograms, images, and computational graphs from event log files.
Install it if you train TensorFlow models and want to inspect metrics, graphs, or compare runs; it is not necessary if you use a different ML framework or logging…
Leather is a lightweight Python charting library for quick, no-frills data visualization. It generates charts without requiring perfect styling or extensive configuration.
Pure-Python Apache Kafka client library providing high-level consumer, producer, and admin APIs, plus CLI tools for interactive Kafka operations without external compiled dependencies.
Validates data and schemas against OpenAPI Schema Specification versions 3.0, 3.1, and 3.2, enforcing compliance with the corresponding JSON Schema dialects.
Install it if you work with OpenAPI specs and need runtime validation; the low install friction and permissive license make it a straightforward choice.
pyproj provides a Python interface to PROJ, enabling cartographic projections and coordinate system transformations for geospatial applications.
Flask-Login handles user session management for Flask applications, providing login, logout, and session persistence without being tied to any specific database or permissions model.
Install it if you need straightforward session-based authentication; consider alternatives if you require active maintenance or modern authentication patterns like…
Generates QR codes as images (PNG, SVG) or ASCII art from text or binary data, with configurable error correction and styling options.
Provides a Python client library for accessing the Groq REST API with type-safe request and response handling, supporting both synchronous and asynchronous operations.
Install it if you need to call the Groq API from Python; it handles authentication, retries, and error classification out of the box.
Parses user-agent strings to extract browser, operating system, and device information into structured data.
Extracts, filters, sorts, and updates values in JSON data using JSONPath expressions, with zero third-party dependencies and pure Python string parsing.
Install it if you need practical JSONPath querying; if you require strict RFC 9535 compliance, verify the feature set first.
PyPDF2 is a pure-Python library for reading, splitting, merging, cropping, and transforming PDF files, plus extracting text, metadata, and managing encryption.
However, version 3.0.x is the final release under this name, and development continues under a successor package.
Calculates pricing for LLM API calls across multiple providers by matching token usage to published rate cards.
wandb is a machine learning experiment tracking and visualization platform that logs metrics, hyperparameters, datasets, and models to a centralized dashboard for monitoring and comparing training runs.
Install it if you need centralized experiment tracking, comparison, and visualization for machine learning projects; skip it if you prefer local-only logging or have…
Logfire is a Python observability platform that captures traces, metrics, and logs from your application and sends them to a hosted dashboard for analysis, with built-in instrumentation for popular frameworks and Pydantic models.
Pymdown Extensions provides a collection of additional extensions for Python Markdown that add syntax support for advanced formatting, including tabbed content, superfences with syntax highlighting, emoji, and other markup enhancements.
Install it if you need markdown features beyond the standard library.
Watchtower is a Python logging handler that sends log messages directly to AWS CloudWatch Logs, integrating the standard Python logging system with CloudWatch without requiring a separate log collector.
Install it if you run Python applications on AWS and want CloudWatch as your logging backend without operational overhead.
olefile parses, reads, and writes Microsoft OLE2 compound files (Structured Storage format) used by legacy Office documents, Outlook messages, and various specialized file formats.
Install only if your use case genuinely requires OLE file handling—it is not a general-purpose tool.