Packages
natsort provides natural sorting for strings containing numbers, ordering them by numeric value rather than lexicographic order—so '10' comes after '9' instead of after '1'.
Install it if you need to sort strings containing numbers in a human-readable way.
py-spy is a sampling profiler that attaches to running Python processes to measure where they spend time, without requiring code modification or process restart.
Creates formatted ASCII tables for console output with support for alignment, data types, cell wrapping, and optional CJK text and emoji rendering via optional dependencies.
However, maintenance is dormant—no updates in over 1000 days—so consider it for stable, low-change use cases only.
Compares two tables and produces a diff summary that can be used as a patch file, optimized for tables sharing a common origin.
Determines whether a file is binary or text by analyzing its byte patterns, handling edge cases like UTF-16 and multi-byte encodings that simple null-byte checks miss.
Install it if you need reliable binary/text classification in any Python tool or pipeline.
Provides an efficient C-backed array type for storing and manipulating sequences of boolean values, with support for bitwise operations, slicing, and endianness control.
Install it if you need memory-efficient boolean arrays or bit-level operations; the medium install friction is offset by pre-built wheels for all major platforms.
Face is a command-line application framework that builds CLI parsers and interfaces from Python code, handling argument parsing and command structure for you.
glom provides path-based access and declarative transformation of nested data structures, with readable error messages and built-in debugging features.
Converts PDFs and documents into clean, structured Markdown, JSON, or plain text optimized for LLM ingestion and RAG pipelines, with automatic layout analysis and selective OCR.
PyMuPDF Layout analyzes PDF structure and content using Graph Neural Networks to extract semantic layout information—titles, headings, tables, images, text styling—and outputs structured data in Markdown, JSON, or TXT format.
However, AGPL licensing means you must either open-source derivative works or obtain a commercial license from Artifex.
This package is a placeholder that redirects users to install beautifulsoup4 instead; it exists to prevent name squatting on PyPI.
Fast base64 encoding and decoding via a C extension wrapping libbase64, with an API compatible with Python's standard base64 module.
Install it if profiling shows base64 is a real bottleneck; otherwise, the standard library is sufficient.
Generates HTML reports for pytest test results, turning test execution data into viewable web pages with test summaries, pass/fail status, and metadata.
Install it if you need HTML test reports; it's a standard tool in pytest ecosystems.
Asynchronous Python client for the Kubernetes API, enabling non-blocking interaction with Kubernetes clusters using AsyncIO.
Pydub provides a high-level Python interface for loading, manipulating, and exporting audio files with simple operations like slicing, concatenation, and format conversion.
However, the abandoned status since 2021-03-10 means no future fixes or compatibility updates—use it only if you can tolerate potential issues with newer Python…
Python bindings for the BLAKE3 cryptographic hash function, exposing the official Rust implementation with support for keyed hashing, key derivation, extendable output, and multithreaded hashing.
Install it if you need modern hashing with keyed or key-derivation modes; the medium install friction is acceptable for most environments since binary wheels are…
jsonpickle converts complex Python objects to and from JSON, enabling human-readable serialization of data structures including numpy arrays and pandas DataFrames.
However, treat deserialization of untrusted data as a security risk equivalent to pickle—only deserialize data you control or have verified.
A collection of fully-typed utility functions and classes for common Python patterns—converters, containers, async helpers, formatters, and decorators—designed to reduce boilerplate across projects.
Install it if you find yourself repeatedly writing converters, time formatters, or async batching logic.
Ansible Core is the engine for agentless IT automation, handling configuration management, application deployment, cloud provisioning, and multi-node orchestration via SSH without requiring agents or custom ports.
GenSON generates JSON Schema documents from JSON objects and can merge multiple schemas together, inferring a unified schema that describes the common structure of your data.
progressbar2 renders text-based progress bars in the terminal, handling custom widgets, concurrent bars, unknown-length progress, and clean output around logs and prints.
Parses command-line arguments based on a help message docstring, generating an argument parser without writing repetitive parser code.
Install only if you are maintaining legacy code that already depends on docopt 0.6.2 and cannot be migrated.
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.
pip-tools provides command-line tools to compile and manage pinned Python package dependencies, ensuring reproducible and deterministic builds by resolving transitive dependencies into locked requirement files.
Provides cross-platform standard input with a timeout, allowing you to prompt for user input and automatically return a default or exception if no response arrives within a specified number of seconds.
boostedblob is a command-line tool and async library for performing file operations across local filesystems, Google Cloud Storage, and Azure Blob Storage with a unified interface.
Install it if multi-cloud file handling is part of your workflow; skip it if you only work with a single storage backend.
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.
Provides cross-platform locks for synchronizing access between threads and processes, with both exclusive and reader-writer lock variants matching the threading.Lock API.
Install it if you need inter-process locks or reader-writer patterns; the low friction and permissive license make it a safe choice.
A pytest plugin that repeats test execution a specified number of times, useful for detecting intermittent failures or stress-testing flaky tests.
Distributes Node.js prebuilt binaries as Python wheels, making Node.js, npm, npx, and corepack available via pip for use in Python scripts and command-line environments.
Provides a uniform slicing interface for tensor-like objects (numpy, pandas, scipy, PyTorch, lists, tuples, dicts) via `__getitem__`, enabling non-integer indexing and nested slicing in a single call.
A command-line interface for interacting with Databricks REST APIs, now superseded by newer versions and a dedicated SDK.
Install only if you are maintaining legacy scripts that cannot be migrated; for any new integration, use the recommended CLI 0.200+ or databricks-sdk-py instead.
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.
Grimp builds a queryable graph of Python package imports, letting you analyze module dependencies, find import chains, and trace which modules import what.
Install it if you need to analyze or audit module dependencies in Python code.
Provides a collection of custom management commands and utilities that extend Django's built-in functionality, including model visualization, URL inspection, template validation, and an enhanced interactive shell.
Install it if you develop with Django and want faster access to introspection and debugging tools.
A pytest fixture that benchmarks Python functions by running them in calibrated rounds and generating performance reports with timing statistics.
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.
Represents and manipulates IPv4, IPv6, MAC addresses and related network objects; supports CIDR notation, subnetting, set operations, IANA lookups, and DNS reverse generation.