Packages
Import Linter enforces architectural constraints on Python module imports and provides a browser-based UI for visualizing package architecture.
Install it if you want to enforce import rules or explore package structure.
Detects which package manager installed a given Python package and returns the correct upgrade command for that installer.
Install it if you need to detect or recommend upgrade commands based on how a package was installed.
Trafilatura extracts main text, metadata, and structured content from web pages and HTML, converting raw HTML into clean, usable data in multiple output formats.
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.
Recursively scans directories with flexible filtering, wildcard matching, and in-memory tree representation, providing extended file metadata and cyclic symlink detection.
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.
pprintpp is a drop-in replacement for Python's standard pprint module that formats data structures with improved readability and PEP8 compliance, supporting collections, numpy arrays, and better unicode handling.
Converts between integers and Roman numerals, supporting values from 1 to 3,999 with strict classical formatting rules and case-flexible parsing.
Install it if you need reliable Roman numeral conversion with validation; skip it if you only need occasional formatting and can tolerate looser rules.
Parses ISO 8601 date strings (e.g. 2007-01-14T20:34:22+00:00) into Python datetime objects, handling common date/time formats and timezone specifications.
However, consider Python 3.11+ built-in datetime.fromisoformat() first—it now handles most ISO 8601 cases natively.
Provides a Redis cache and session backend for Django, supporting native redis-py URL connection strings, pluggable serializers and parsers, and optional compression.
Bokeh is an interactive visualization library that creates browser-based plots, dashboards, and data applications from Python code, with support for large and streaming datasets.
Install it if you need browser-based interactivity.
Generates API documentation for Python projects by parsing source code and docstrings, integrating with mkdocstrings to produce searchable, cross-referenced documentation.
Install it if you use mkdocstrings and want to document Python code automatically.
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.
Pyroscope-io is a continuous profiling agent that samples Python application stack traces and sends them to a Pyroscope server for performance analysis.
Provides Python bindings to interact with Docker's credential storage API, allowing you to store, retrieve, and manage Docker credentials programmatically.
SQLFluff is a SQL linter and auto-fixer that checks SQL code for style and formatting issues across multiple SQL dialects, with support for Jinja templating and dbt.
Install it if you work with SQL across multiple dialects, use dbt, or want to enforce team SQL style standards.
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.
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.
Loads environment variables from a .env file into the process environment, but this package is deprecated and unsupported—use python-dotenv instead.
Records and replays terminal sessions, saving them as timestamped files that can be played back in the terminal or uploaded to asciinema.org for web viewing.
Suitable for one-off or occasional use; not recommended if you require active maintenance or expect to rely on it in production workflows.
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…
Icdiff displays file differences in a side-by-side colored format, making it easier to spot changes than traditional unified diff output.
Install it if you prefer side-by-side diffs over unified format—it integrates seamlessly with Git and other VCS tools and costs nothing to try.
OpTree provides optimized utilities for flattening, unflattening, and mapping over nested Python container structures (PyTrees) like dicts, lists, tuples, and custom types.
A pytest plugin that injects a configurable base URL into your test suite via command line, config file, environment variable, or fixture override.
Install it if your test suite makes HTTP requests to configurable endpoints.
Disables App Nap on macOS >= 10.9 to prevent performance degradation during long-running operations, using ctypes to wrap NSProcessInfo system calls.
Provides a unified Python file interface for reading and writing to local filesystems, Google Cloud Storage, and Azure Blob Storage using an API similar to the built-in `open()` function.
Install only if you actually need multi-cloud or local-plus-cloud file abstraction; if you use only one provider, that provider's native SDK may be more direct.
Provides reusable Click command-line argument and option decorators for building consistent GeoJSON processing tools.
However, be aware that maintenance is dormant—the last release was in 2021 and there have been no commits since February 2024.
Provides Python bindings to the Zstandard (Zstd) compression library, enabling compression and decompression of data using the Zstd algorithm.
Dictdiffer computes and applies diffs and patches to Python dictionaries, letting you identify what changed between two dicts and reconstruct one from another.
Install it if you need to diff or patch dictionaries.
Cython-accelerated implementation of the toolz functional utilities library, providing faster performance for operations on iterables, functions, and dictionaries while maintaining the same API.
jsii is a Python runtime client that enables Python code to interact with JavaScript classes compiled to jsii format, allowing polyglot use of TypeScript-authored class libraries across multiple languages.
Install only if you have a concrete need to consume jsii-compiled bindings; it is not useful as a standalone tool.
Generates random human-readable names and URL-safe slugs with customizable word combinations, supporting fixed or variable-length output.
Install it if you need random readable names or slugs for identifiers, URLs, or test data.
Provides Django database, form, and REST framework fields for storing and working with timezone objects using either the standard library's zoneinfo or the legacy pytz library.
Install it if you need timezone storage and validation in Django.
Python wrapper for the Jenkins REST API that provides a higher-level, pythonic interface to control Jenkins servers and automate common administration tasks.
However, the aging maintenance status (376 days since last release) means you should verify compatibility with your specific Jenkins version and be prepared to…
Loads and parses environment variables from .env files to configure Django applications using Twelve-Factor methodology, with support for type casting and URL-based connection strings.
Install it if you use Django and want environment-based configuration following industry best practices.
Provides @public and @private decorators to document module visibility and automatically keep __all__ in sync with your public API.
An MkDocs plugin that automatically generates API documentation from source code docstrings, supporting multiple programming languages through pluggable handlers.
Install it if you use MkDocs and want to automate API documentation from source code; you'll also need to install a language handler for your target language.
Computes Cyclic Redundancy Check (CRC) values for 8, 16, 24, 32, or 64-bit polynomials, providing both Python functions and a class interface compatible with standard library hash modules.
However, it is abandoned (last release 2010-06-27) with no documented support beyond Python 3.1.
A pytest plugin that improves test output with a progress bar, instant failure display, and better formatting of results.
However, the 356-day gap since the last release suggests the project is aging; verify that it remains compatible with your pytest and Python versions before relying…