Packages
A flake8 plugin that detects print statements and pprint calls in Python code, flagging them with error codes T201, T203, and T204 for code quality enforcement.
However, the package is abandoned (last release 2022-04-30, no maintenance since), so compatibility with newer flake8 versions is not guaranteed.
fredapi wraps the FRED web service to fetch U.S. Federal Reserve economic data and return it as pandas Series or DataFrames, with built-in support for handling data revisions and vintage dates.
Parses Python docstrings in ReST, Google, Numpydoc, and Epydoc formats, extracting structured metadata like parameters, return types, and exceptions.
Install it if you need programmatic access to docstring metadata; verify against the CHANGELOG.md that the fork's fixes and additions matter for your use case.
Provides a Django model field that stores and retrieves any picklable Python object directly in the database, handling serialization and deserialization automatically.
Install only if you understand the pickle security implications and will never assign unsanitized user input to PickledObjectField.
Automatic and manual ORM query caching for Django with Redis-backed storage and granular event-driven cache invalidation tied to model changes.
Install it if you have a Django app with database-heavy ORM queries and a Redis instance available; the automatic invalidation model eliminates much of the complexity…
Backports Python 3.6's textwrap module to earlier Python versions, making APIs like shorten() and max_lines available across Python 2.6 and 3.x with improved Unicode handling.
EbookLib reads and writes EPUB2/EPUB3 files programmatically, allowing you to extract, modify, and create e-book content with support for metadata, covers, tables of contents, and multimedia.
Install it if you need to read, write, or manipulate EPUB files in Python.
Lhotse prepares multimodal (speech, audio, video, image, text) data for machine learning model training with flexible pipelines, on-the-fly augmentation, and efficient data loading.
Install it if you are building speech, audio, or multimodal training pipelines; skip it if you only need simple audio I/O without data augmentation or complex dataset…
Provides Bootstrap 5 form templates and layout components for django-crispy-forms, enabling styled form rendering with Bootstrap 5 markup and interactive elements like floating labels, accordions, and switches.
Install it if you want Bootstrap 5 form rendering without writing custom templates.
Backports unittest features from Python 2.7 and later versions to earlier Python releases, allowing use of modern testing assertions and test discovery on older Python versions.
Install only if you are maintaining a legacy codebase stuck on Python 2.6 or earlier that cannot be upgraded; otherwise, use the standard unittest module.
Provides a Python client to interact with the DeepL API for translating text and documents with support for language detection, formality control, glossaries, and multiple translation models.
Provides Path objects that wrap filesystem operations as methods, allowing direct invocation of file operations on path instances with a str-compatible interface.
Install it if you prefer method-based path operations and need str-compatible path objects for legacy APIs.
Paste provides WSGI middleware components for building web applications, including request/response utilities, authentication, sessions, error handling, and debugging tools.
An MCP server that bridges AI assistants like Claude to Odoo ERP systems, enabling natural-language queries and operations on business data through search, create, update, delete, and aggregation tools.
Whoosh is a pure-Python full-text search and indexing library that lets you add search functionality to applications without compiling native code.
Pysher is a Python client library for consuming Pusher WebSocket events, allowing you to subscribe to channels and bind event handlers to receive real-time messages.
However, proceed with caution: the package is abandoned, install friction is high, and compatibility with modern Python versions is unverified.
Decorator-based function result caching with configurable TTL, multiple eviction algorithms (LRU, LFU, FIFO), and support for unhashable arguments.
Yarg is a PyPI client library that queries package metadata from PyPI, returning structured information about packages including their releases, authors, and distribution formats.
However, verify that PyPI's API remains compatible with yarg's parsing logic, since the package is dormant and you may need to maintain a fork or switch to an…
Backports the `weakref.finalize` class from Python 3.4+ to earlier Python versions, allowing you to register cleanup callbacks for objects when they are garbage collected.
Rauth provides OAuth 1.0/a and OAuth 2.0 consumer support for Python applications, enabling authenticated requests to services like Twitter without handling low-level protocol details.
Provides the TemporaryDirectory context manager for Python 2.7 and early Python 3 versions that lack it in their standard library.
Pure Python client library for connecting to and interacting with memcached memory cache servers, enabling distributed caching across one or more remote instances.
However, if you require active development or new features, consider alternatives.
Tinker is the official Python SDK for the Tinker API, providing client libraries and utilities to interact with Tinker's machine learning and data processing services.
Install it if you need to call the Tinker API from Python.
TensorFlow Probability provides probabilistic modeling, statistical inference, and Bayesian machine learning tools integrated with TensorFlow, including distributions, variational inference, MCMC sampling, and neural network layers with uncertainty quantification.
Wraps and formats text while correctly handling ANSI color and style codes, treating them as invisible to line length calculations the way textwrap cannot.
Install it if you're building terminal UIs or CLI tools with colored output that need proper text wrapping.
A pytest plugin that formats test output with rich tables and real-time error summaries to make failures easier to locate and fix.
Install it if your test suites are large enough that output readability matters.
Provides functional programming primitives—containers like Maybe, Result, and RequiresContext—that let you write type-safe, composable functions that return meaningful values instead of raising exceptions or returning None.
Provides a decorator to wrap legacy function APIs, allowing you to convert positional parameters to keyword-only while maintaining backward compatibility with a deprecation warning.
icmplib provides a pure Python implementation of the ICMP protocol for sending ping, multiping, and traceroute requests, with support for both IPv4 and IPv6, synchronous and asynchronous operations, and custom socket-level control.
mdformat-frontmatter is an mdformat plugin that preserves YAML front matter blocks at the start of markdown files, preventing them from being reformatted or removed during markdown formatting operations.
A drop-in replacement for Python's sqlite3 module that bundles sqlean extensions, adding cryptography, fuzzy matching, statistics, regex, file I/O, and other SQL functions directly into SQLite.
However, the abandoned repository status means you should not rely on it for long-term production systems expecting active maintenance or future Python compatibility…
Adds complete cell formatting support to gspread, enabling you to style Google Sheets cells with colors, fonts, alignment, and conditional formatting, plus control frozen rows/columns and data validation.
box-sdk-gen provides a Python client library for the Box Content Cloud API, enabling developers to authenticate, manage files and folders, and perform operations on Box accounts programmatically.
However, be aware that the archived repository will not receive updates for new Box API features or security patches—monitor for actively maintained alternatives…
Spark NLP provides distributed natural language processing on Apache Spark, offering pretrained pipelines and models for tokenization, named entity recognition, sentiment analysis, machine translation, and embeddings across multiple languages.
Install only if you already have Apache Spark 3.0+ and Java 8 or 11 in your environment; it is not suitable for lightweight single-machine NLP work.
petl extracts, transforms, and loads tables of data using a declarative, composable API that works with multiple data sources and formats.
Install it if you need composable, readable data transformations without framework overhead.
PyLogBeat sends log messages and structured data to Logstash's beats input plugin or other services implementing the Beats protocol, with server acknowledgment for reliable delivery.
However, the incomplete protocol implementation and aging maintenance status (264 days since last release) mean it is best suited for straightforward…
Generates command-line argument parsers from Pydantic models, automatically handling type validation, help text, and argument aliases based on your model definition.
Extracts URLs from text by locating TLDs and expanding boundaries to find complete domain names, with optional DNS validation.
However, the last release was 897 days ago and maintenance is dormant—if you need active support or expect frequent TLD updates, verify that the cached list meets…
A Python SDK for the Okta Management APIs, enabling programmatic access to Okta identity and access management services through a client library.
Install it if you need to integrate Okta's Management APIs into a Python application and have a valid Okta organization and API token.
Provides Money and Currency classes for representing monetary values in Python with proper arithmetic and currency handling, avoiding pitfalls of using floats or raw Decimal objects.