Packages
mmh3 is a Python binding to MurmurHash3, a fast non-cryptographic hash function that returns 32-bit or 128-bit hash values for bytes and strings, with optional seeding.
Provides cross-platform path objects, INI file parsing, code introspection, and utility modules for Python development—now largely superseded by modern alternatives.
No, not for new code.
Pyflakes checks Python source files for logical errors by parsing syntax without importing, catching undefined names, unused imports, and similar issues quickly and safely.
Install it if you want quick, safe error detection in your Python workflow.
Adds colored output to Python's standard logging module, automatically handling terminal detection and color codes across platforms.
Install it if you want colored terminal output without managing ANSI codes yourself.
Extends Click CLI groups to load external commands and subcommands via setuptools entry-points, enabling plugin architectures for command-line applications.
However, note the inactive maintenance status and the discrepancy between the description ("no longer actively maintained") and the metadata (active status); verify…
Locates Python interpreters on your system by version, architecture, or executable name, returning their paths and metadata.
Install it if you're building tooling that must locate or select among Python versions.
Transforms AWS Serverless Application Model (SAM) templates into CloudFormation templates, enabling simplified serverless infrastructure-as-code authoring.
Formats and parses numbers, file sizes, timespans, and other values into human-readable text; provides terminal interaction utilities including ANSI text styling and user prompts.
Adds an interactive REPL mode to Click command-line applications, letting users run CLI commands interactively with tab completion and command history instead of repeatedly invoking the program.
Converts and normalizes HTML and CSS color formats—hex, RGB triplets, color names, and HTML5 legacy color strings—without external dependencies.
Install it if you need to work with HTML/CSS color formats in any form—the low friction and permissive license make it a straightforward addition to any project.
Renders Click command-line interfaces with rich terminal formatting, replacing Click's default help output with colorful, structured text using the Rich library.
Validates fully-qualified domain names (FQDNs) against RFC 1123 standards, checking whether a string would be acceptable as a public Internet hostname, with configurable relaxations for short names or underscores.
Implements JOSE (JSON Object Signing and Encryption) standards to sign, encrypt, and verify JSON Web Tokens and other cryptographic payloads using pluggable cryptographic backends.
Infers file type and MIME type by examining magic number signatures in files or byte buffers, with no external dependencies.
However, the last release was 2022-11-02 with no recent commits, so it may not support the newest file formats or receive bug fixes promptly.
Provides a proxy object that defers execution of an expensive function until the proxy is first accessed, then caches and reuses the result.
Install it if you have expensive object creation you want to defer—it's a straightforward, proven solution for lazy initialization patterns.
Adds colored output to Python's standard logging module using ANSI escape sequences, with automatic fallback support for Windows terminals.
However, it is abandoned and receives no maintenance, so it will not adapt to future Python changes or platform updates.
Parse, simplify, and compare boolean expressions with variables and AND/OR/NOT operators, with support for custom tokenizers and domain-specific languages.
Parses, validates, simplifies, and normalizes license expressions (including SPDX format) using boolean logic to handle complex multi-license combinations.
Install it if you need to parse, validate, or manipulate license expressions programmatically.
Retrying is a decorator-based library that adds automatic retry logic to functions, with configurable stop conditions, wait strategies, and exception handling.
Accurately extracts subdomain, domain, and public suffix from URLs using the Public Suffix List, handling edge cases like multi-level suffixes (e.g., .co.uk) that simple dot-splitting cannot parse correctly.
Validates that strings conform to the ABNF syntax rules defined in RFC 3987 for Internationalized Resource Identifiers (IRIs), using Lark-based parsing to check syntax only, not semantic constraints.
However, maintenance is aging (last release 392 days ago), so treat it as a stable utility rather than an actively developed framework.
tox automates testing across multiple Python environments and versions, managing virtual environments and running test suites with configurable test tools to verify package builds and compatibility.
Install it if you maintain a Python package or work on projects that require multi-environment testing.
A pytest plugin that captures and exposes test session metadata—Python version, platform, installed packages, plugins, and CI environment variables—for use in tests, fixtures, reports, and custom hooks.
Parses and builds Package URLs (purls) — standardized identifiers for software packages across different package managers and ecosystems.
Install it if you need to work with standardized package identifiers across different ecosystems or integrate purl handling into a larger tool.
Hyperlink provides an immutable, RFC 3986/3987-compliant URL class for parsing, manipulating, and constructing URIs and IRIs in pure Python.
Install it if you need RFC-compliant URL handling, especially for query parameters or relative URL resolution.
Provides fast Python bindings to multiple compression and decompression algorithms (Snappy, Brotli, Bzip2, Lz4, Gzip, Zlib, Deflate, ZSTD, XZ) implemented in Rust, with no system or Python dependencies required.
Serializes exceptions and tracebacks to pickle format or plain dicts, enabling exception handling across multiple processes without losing stack information.
Griffe extracts the complete structure and signatures of Python programs to generate API documentation or detect breaking changes in your project's public API.
Install it if you need to programmatically inspect Python code structure, generate API docs, or enforce API stability in CI.
Parses pip requirements files with the same correctness as pip itself, using pip's own parsing code extracted into a standalone, offline-capable library.
However, do not install if you require support for pip syntax changes after December 2022 or expect ongoing maintenance—the project is dormant and will not track…
A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.
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.
Validates Python data structures (dicts, lists, tuples) against declarative schemas, raising SchemaError on mismatch or returning the validated (and optionally transformed) data.
Install it if you need to validate incoming data structures in any form.
Detects and reports CPU information—architecture, frequency, cache sizes, flags, and core count—using pure Python without requiring external programs or compilation.
However, avoid it if you need active support for cutting-edge architectures or recent OS versions.
A Sphinx extension that generates HTML help files from reStructuredText documentation source.
A Sphinx extension that converts documentation source files into QtHelp format, enabling integration with Qt-based help systems and documentation viewers.
However, be aware that maintenance is dormant—if you rely on it long-term, monitor Sphinx compatibility and consider whether QtHelp remains the right format for your…
Sphinx extension that generates Apple help books from reStructuredText documentation.
However, verify that Apple help format output remains compatible with your target macOS versions, and be aware that dormant maintenance means bug fixes or format…
A Sphinx extension that generates Devhelp documentation output format, allowing Sphinx-built documentation to be read in the Devhelp help viewer.
Modifies a user's PATH environment variable by appending or prepending directories, with verification and shell-restart detection across platforms.
However, the 897-day gap since the last release suggests it is no longer actively maintained; use it for straightforward PATH manipulation but do not expect updates…
A Sphinx extension that renders mathematical display equations in HTML output using JavaScript.
Boltons provides a collection of over 230 pure-Python utility functions and data structures—such as OrderedMultiDict, LRU caching, atomic file operations, and recursive iteration—designed to fill gaps in the standard library.