Packages
geopy is a Python client for geocoding and distance calculation that converts addresses to coordinates and vice versa using multiple web-based geocoding services, and computes geodesic and great-circle distances between geographic points.
Install it if you need geocoding or distance calculations in your application.
ldap3 is a pure Python LDAP V3 client library that implements RFC 4510, providing both low-level LDAP operations and a high-level abstraction layer for directory queries and authentication.
Install it if you need to authenticate against or query LDAP directories.
A Python framework for building, testing, and deploying AI agents with graph-based workflow orchestration, multi-agent coordination, and tool integration—optimized for Gemini but model-agnostic.
Parse strings using format-string-like patterns to extract structured data, reversing the operation of Python's format() function.
Install it if you need to reverse format() operations or prefer format-string patterns over regex for text extraction.
A Python client library that sends metrics to a statsd daemon, enabling you to track counters, timers, and gauges for monitoring and visualization in Graphite.
Install it if you need to send metrics to a statsd/Graphite stack; skip it only if your monitoring backend uses a different protocol (Prometheus, CloudWatch, etc.).
Dynamically creates Python functions at runtime with custom signatures, enabling programmatic generation of wrapper functions and decorators without manual boilerplate.
Parses pip requirement files into structured data, extracting package names, version specifiers, and metadata like extras, URLs, and version control references.
Provides Python bindings to GnuPG for key management, encryption, decryption, signing, and signature verification operations.
Provides an immutable, hashable dictionary implementation with a dict-like API, supporting operations like set(), delete(), and merge via the | operator while guaranteeing immutability.
Install it if you need immutable mappings for hashing, thread safety, or functional programming patterns.
xattr is a Python wrapper for reading and writing extended filesystem attributes on macOS, Linux, BSD, and Solaris, with a command-line tool included.
JayDeBeApi bridges Python to Java JDBC database drivers, providing a DB-API v2.0-compliant interface for accessing databases from cPython (via JPype1) or Jython.
However, dormant maintenance (no updates since 2020) and the requirement for a properly configured Java environment and JPype1 are significant constraints.
Automatically exposes FastAPI endpoints as Model Context Protocol (MCP) tools for LLM integration, with built-in authentication support using FastAPI's dependency system.
However, note the aging maintenance status (last release 382 days ago)—evaluate whether the current feature set and stability meet your timeline, and monitor the…
Pydantic Evals provides a framework for defining test cases, custom evaluators, and running evaluations against stochastic functions—particularly those using LLMs—with built-in support for tracing and result reporting.
Optuna is a hyperparameter optimization framework that automates the search for optimal hyperparameter values in machine learning models using a define-by-run API and state-of-the-art sampling algorithms.
Flit is a Python packaging tool that simplifies creating and publishing packages to PyPI by extracting metadata from module docstrings and version attributes instead of requiring separate configuration.
Install it if you're publishing a straightforward Python package and want to avoid setuptools complexity; it's particularly valuable for single-module projects or…
Cadwyn generates older API versions automatically from your newest implementation, letting you maintain backward compatibility through small, independent version-change modules rather than duplicating code across versions.
Adds a custom YAML tag that lets you reference environment variables directly in YAML files, with support for fallbacks and type coercion.
A native TCP driver for ClickHouse that executes queries and returns results, supporting both a direct client interface and Python DB API 2.0 specification.
NumExpr evaluates numerical expressions on NumPy arrays with multi-threaded acceleration and reduced memory overhead, typically achieving 0.95x to 4x speedups over direct NumPy operations.
Install it if you regularly work with large NumPy arrays and need to squeeze performance from complex expressions; skip it for small arrays or simple operations where…
Pydantic AI is a Python framework for building production-grade AI agents and workflows with LLMs, emphasizing type safety, model-agnostic provider support, and structured validation.
bashlex parses bash shell syntax into an abstract syntax tree (AST), supporting complex constructs like command and process substitutions that standard tools like shlex cannot handle.
Verifies that cryptography or pyOpenSSL certificates are valid for a specific hostname or IP address, implementing RFC 6125 hostname verification and service identity inspection.
Install it if you're building TLS clients or servers with cryptography or pyOpenSSL and need robust hostname verification beyond basic SSL defaults.
LlamaIndex Core provides foundational abstractions and classes for building LLM applications, particularly retrieval-augmented generation (RAG) systems, with extensible interfaces for LLMs, vector stores, embeddings, and storage.
Install it if you're building LLM applications; skip it only if you need a minimal LLM wrapper without data integration.
Kubeflow Pipelines is a Python SDK for defining, deploying, and managing machine learning workflows as containerized task graphs on Kubernetes clusters.
Install only if you already have or plan to set up a Kubeflow infrastructure; it is not a standalone ML framework.
Provides Python bindings to REST APIs for Atlassian products (Jira, Confluence, Bitbucket, Bamboo, ServiceDesk, Insight, Xray) and supports both Server and Cloud instances.
The main gotcha is ensuring you use the correct authentication method (token for Cloud, password for Server) and staying aware of deprecated methods like traditional…
Simplifies reading and writing jsonlines (newline-delimited JSON) and ndjson format files, providing a lightweight interface for streaming JSON records.
Adds internationalization (i18n) and localization (l10n) support to Flask applications using Babel and pytz for date, time, and message translation.
Timm provides a large collection of pretrained PyTorch image models—vision transformers, CNNs, and hybrid architectures—with utilities for loading weights, training, and inference.
Install it if you need pretrained models, model zoo access, or a training framework for vision tasks.
PyWavelets provides discrete, continuous, and stationary wavelet transforms in 1D, 2D, and nD, along with wavelet packet decomposition and over 100 built-in wavelet filters for time-frequency analysis.
Flask App Builder is a framework that generates database-backed web applications with automatic CRUD interfaces, role-based security, and REST APIs from SQLAlchemy models.
Install it if you need rapid CRUD scaffolding and role-based security; skip it if you prefer building views and APIs from scratch or need a headless-only approach.
Evaluates mathematical and logical expressions from strings in a safe, sandboxed way without using Python's built-in eval(), letting you add user-configurable formulas to applications.
Install it if you need to evaluate untrusted formulas; avoid it only if you need features beyond basic arithmetic, comparisons, and simple function calls, or if…
Provides emoji and SVG icon extensions for MkDocs Material, enabling insertion of Material, FontAwesome, and Octicons into Markdown using emoji syntax.
Parses and evaluates cron expressions to find matching execution times, with support for Debian cron syntax including DST handling, optional seconds field, and advanced features like last-day-of-month and nth-weekday matching.
Install it if you need to parse or evaluate cron expressions in Python—particularly if you require Debian cron compatibility or advanced features like…
Biopython provides Python tools for computational molecular biology, including sequence analysis, structure parsing, database access, and phylogenetic tree manipulation.
However, verify that the custom Biopython License Agreement aligns with your project's licensing requirements before committing to it in production or proprietary work.
Divides large lists or query results into manageable pages, handling navigation between pages and generating pagination UI markup or link metadata.
However, verify compatibility with your Python version before relying on it in new projects, given the lack of recent updates and unspecified Python support.
Provides symbolic constant support in Python, including collections and constants with text, numeric, and bit flag values.
Converts arbitrary Python objects to JSON strings and back, extending the standard json module with support for custom classes, numpy arrays, and nested structures through JSONEncoder and JSONDecoder subclasses.
However, maintenance is aging (last release 275 days ago), so verify that its feature set meets your needs before adopting it for new projects.
Provides a monotonic clock function that returns elapsed time in fractional seconds without going backwards, with platform-specific fallbacks for Python versions before 3.3.
Install only if you are stuck supporting Python 2 or cannot upgrade to Python 3.3 or later, where time.monotonic is available in the standard library.
Converts tabular data into formatted tables for output in multiple text, binary, and application-specific formats including Markdown, HTML, CSV, JSON, Excel, LaTeX, and SQLite.
Install it if you need to generate formatted tables in any of its supported output formats; skip it only if your use case is limited to a single format where a…
Represents and manipulates IPv4, IPv6, MAC addresses and related network objects; supports CIDR notation, subnetting, set operations, IANA lookups, and DNS reverse generation.