Subcategories
Packages
Sanitize and validate filenames and file paths by removing or replacing invalid characters, reserved names, and unprintable characters across multiple platforms (Linux, Windows, macOS, POSIX, and universal).
Install it if you need reliable filename or path validation across platforms; the low friction and clear API make it a straightforward addition to any project…
aiosmtplib is an asynchronous SMTP client that sends email messages using asyncio, allowing non-blocking email operations in async Python applications.
progressbar2 renders text-based progress bars in the terminal, handling custom widgets, concurrent bars, unknown-length progress, and clean output around logs and prints.
Adds Cross-Origin Resource Sharing (CORS) support to aiohttp applications, enabling controlled cross-origin HTTP requests from browsers by configuring which origins can access specific routes and what credentials and headers are allowed.
Provides a programmatic API to read and interact with Python projects defined by pyproject.toml files, handling project metadata and configuration parsing.
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.
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.
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.
Python client library for Microsoft 365 and Microsoft Graph APIs, covering SharePoint REST API v1, Outlook, OneDrive, Teams, OneNote, Planner, and modern Azure AD authentication flows.
Install it if you need to automate SharePoint, Outlook, Teams, or OneDrive operations from Python.
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.
Pooch downloads files from HTTP, FTP, and data repositories (Zenodo, figshare), caches them locally, and verifies integrity via hash checking—eliminating manual file management and urllib boilerplate.
Install it if you need to download, cache, and verify data files in any Python project—it eliminates boilerplate and adds reproducibility with minimal overhead.
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.
Provides re-sampling techniques to address class imbalance in machine learning datasets, integrating with scikit-learn for preprocessing imbalanced data before model training.
Provides fuzzy string matching with match indices using the fzy algorithm, including async matching and substring scoring.
However, the package is abandoned and has not been updated since January 2022, so consider it only for stable, self-contained use cases where you won't need ongoing…
InquirerPy provides interactive command-line prompts (text input, confirmations, selections, checkboxes, fuzzy search) for building conversational CLI interfaces in Python.
However, the project is dormant (last release 2022-06-27), so adopt it only if you need its specific feature set (especially the fuzzy prompt) and can tolerate no…
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.
Python binding for Google's Snappy compression library, providing fast compression and decompression of data via the cramjam backend.
However, dormant maintenance (715 days since last release) means security or compatibility issues may not be addressed quickly.
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.
Blessed provides a clean Python interface for terminal styling, colors, keyboard input, and cursor positioning, replacing low-level curses calls with an intuitive API that works across Windows, Mac, Linux, and BSD.
Install it if you're building any terminal UI, need cross-platform keyboard handling, or want to avoid curses complexity.
Cachebox is a high-performance in-memory caching library written in Rust that provides multiple cache algorithms (FIFO, LRU, and others) for memoizing function results and storing arbitrary data with minimal overhead.
Install it if you need fast, thread-safe caching with multiple eviction policies and minimal setup overhead—particularly valuable in high-traffic or compute-intensive…
Provides Python bindings for NVIDIA's cuFile GPUDirect storage access libraries, enabling direct GPU-to-storage I/O without CPU involvement for CUDA 12 environments.
tritonclient is a Python client library for communicating with Triton Inference Server over gRPC or HTTP, enabling you to send inference requests to remote model-serving deployments.
Install it if you are using Triton for model serving and need to query it from Python.
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.
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.
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.
Syrupy is a pytest plugin that enables snapshot testing by letting you assert that computed results remain unchanged across test runs, using simple equality comparisons like `assert actual == snapshot`.
Install it if you're writing tests for data transformations, API responses, or any output where immutability matters but exact assertions are unwieldy.
pillow-heif adds HEIF/HEIC image format support to Python, enabling decoding and encoding of 8, 10, and 12-bit HEIC files with metadata and depth image handling.
Provides a Redis cache and session backend for Django, supporting native redis-py URL connection strings, pluggable serializers and parsers, and optional compression.
Prefect is a Python workflow orchestration framework that turns scripts into production-ready data pipelines with scheduling, retries, caching, and event-driven automation.
A concurrent HTTP client for gevent that handles high-throughput requests with connection pooling, streaming, and persistent connections.
Consumes Server-Sent Events (SSE) from remote APIs with synchronous and experimental async implementations, supporting exponential backoff retries and custom HTTP configuration.
Provides high-availability Bluetooth connectivity by wrapping lower-level Bluetooth libraries with resilience and recovery mechanisms for reliable device communication.
However, it is Pre-Alpha, so API stability is not guaranteed and production use should be evaluated carefully.
A server-side SDK for integrating LaunchDarkly's feature flag service into Python applications, enabling runtime feature toggling and gradual rollouts without redeployment.
Polyfactory generates mock data objects from type hints, supporting dataclasses, Pydantic models, typed-dicts, msgspec structs, and other typed structures for testing and development.
Provides a pytest assertion helper to compare collections by content rather than order, useful for testing APIs that return data in arbitrary sequences.
ExpiringDict is an ordered dictionary that automatically removes values after a specified time interval, with a fixed capacity limit, designed for caching purposes.
Connexion builds REST APIs from OpenAPI/Swagger specifications, automatically mapping routes, validating requests and responses, and handling parameter injection without decorators.
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…