Packages
A flake8 plugin that detects likely bugs and design problems in Python code through opinionated linting rules not covered by pyflakes or pycodestyle.
Provides pre-trained deep learning model definitions and weights for architectures like VGG16, ResNet50, Xception, and MobileNet, ready to use with Keras.
No—not recommended for new projects.
Converts CSS style blocks into inline style attributes on HTML elements, making HTML suitable for email clients that don't support style tags.
PyOpenGL provides standard OpenGL bindings for Python, enabling direct access to OpenGL graphics libraries through ctypes without requiring compiled extensions.
Tach enforces module boundaries, dependency rules, and public interfaces in Python projects, detecting violations like undeclared imports, cross-module calls outside public APIs, and circular dependencies.
Provides Python function signature introspection (PEP 362) for Python 2.6, 2.7, and 3.3+, backporting the inspect.signature API from Python 3.3 to older versions.
Install only if you are maintaining legacy Python 2.6–2.7 or Python 3.3–3.5 code that has no path to upgrade; for any new project or modern codebase, use the built-in…
A dictionary that maps multiple keys to the same value, allowing you to access or update an element using any of its associated keys.
Install only if you have tested it on your target Python version and are comfortable maintaining a fork if needed.
Wraps the Stockfish chess engine to let Python code query best moves, evaluate positions, and validate chess notation without reimplementing engine logic.
Converts between Hebrew and Gregorian calendar dates, calculates date differences and offsets, identifies holidays and weekly Torah portions, and generates Hebrew calendars in text and HTML formats.
Install it if your application needs to work with Hebrew dates, holidays, or Torah portions; skip it if you only need Gregorian calendar operations.
A Python client for uploading files to servers using the tus resumable upload protocol, which allows paused and resumed uploads without re-uploading previously sent data.
Parses HOCON (Human-Optimized Config Object Notation) configuration files into Python dictionaries with automatic type inference, supporting nested access, environment variable substitution, and file includes.
Bypasses Cloudflare's anti-bot protection by automatically solving JavaScript challenges, allowing HTTP requests to protected sites to succeed without manual intervention.
However, maintenance is aging—the last release was in April 2023—so if Cloudflare significantly changes their protection techniques, you may need to wait for updates…
Official Python SDK for xAI's APIs, providing synchronous and asynchronous clients to interact with text generation, image understanding, video generation, and structured output models.
Converts geographic coordinates (longitude/latitude) to timezone names using simplified polygon data, with optional GeoJSON export for visualization.
pytube downloads YouTube videos and playlists to local files via Python API or command-line interface, with support for multiple stream formats and quality levels.
netcdf4 provides a Python interface to read, write, and manipulate netCDF version 4 files through bindings to the netCDF C library.
PyUSB provides Python access to USB devices on the host machine through a backend-neutral API, supporting libusb 1.0, libusb 0.1, and OpenUSB backends.
Provides memory-efficient trie data structures for fast string lookups and prefix searches, using up to 50x-100x less memory than standard Python dicts while maintaining comparable lookup speed.
RxPY provides a library for composing asynchronous and event-based programs using observable sequences and query operators, allowing developers to represent and manipulate asynchronous data streams in Python.
arq provides a job queue system for Python that uses asyncio and Redis to run background tasks asynchronously and distribute work across multiple workers.
Cross provides a unified interface for writing framework-agnostic web code that adapts to FastAPI, Flask, Django, Starlette, and other Python web frameworks without rewriting.
However, the description's 'early development' caveat conflicts with the 'Production/Stable' classifier — verify stability for your use case before relying on it in…
Converts LaTeX mathematical expressions to MathML format, available as a Python library and command-line tool.
Install it if you need to convert LaTeX math to MathML; the main unknown is the breadth of LaTeX syntax it handles, which you should verify against your specific use…
Provides a Python client library for interacting with Box's cloud content management API, supporting authentication, file operations, and folder management.
Provides function decorators for retrying operations with configurable backoff strategies when exceptions occur or predicates are met, supporting both synchronous and asynchronous code.
Install it if you need to add resilience to functions that interact with unreliable external resources.
Generates shell tab completion scripts for Python CLI applications built with argparse, supporting bash, zsh, fish, and tcsh without runtime overhead.
Install it if you build Python command-line tools and want to offer your users fast, reliable shell completion.
Parses HCL2 configuration files (such as Terraform configs) into Python dictionaries using a Lark-based parser.
However, note that maintenance is aging (last release 396 days ago) and the project has minimal community activity (5 stars).
Python client library for IBM Cloudant and Apache CouchDB that wraps HTTP APIs to enable programmatic database operations including document CRUD, querying, and authentication handling.
Provides Python and C++ APIs to NVIDIA's cuDNN library, exposing high-performance GPU kernels for scaled dot-product attention, grouped matrix multiplication for mixture-of-experts training, and fused operations optimized for Hopper and Blackwell GPUs.
Install it if you are training or deploying deep learning models on NVIDIA Hopper or Blackwell GPUs and need high-performance attention, grouped GEMM, or quantized…
pyfakefs mocks the Python file system modules to run tests against an in-memory fake filesystem instead of the real disk, with no changes required to the code under test.
Install it if your test suite touches the filesystem.
Python SDK for the Fireworks REST API, providing typed synchronous and asynchronous clients to access Fireworks' LLM inference and training services.
Install it if you need to integrate Fireworks' LLM services into a Python application.
httpr is a fast HTTP client for Python built on Rust that provides both sync and async interfaces as a drop-in replacement for httpx and requests, with support for HTTP/2, streaming, and mTLS.
However, note that fine-grained error handling is not yet implemented, so error recovery patterns may differ from httpx/requests.
Bridges structlog and Sentry to automatically capture structured logs as Sentry events and breadcrumbs, with configurable thresholds and filtering.
Parses and queries JSON structures using JSONPath expressions, supporting arithmetic operators, binary comparisons, and AST manipulation for extracting, updating, or removing nodes.
However, note that maintenance is dormant (last commit Feb 2024, no releases for 992 days)—suitable for stable production use but not for projects requiring active…
Provides an object-oriented Python API to connect to and query LDAP directory servers, wrapping OpenLDAP client libraries and offering utilities for LDIF processing, LDAP URLs, and schema handling.
yq is a command-line processor that applies jq filters to YAML, XML, and TOML documents, converting them to JSON for processing and optionally back to their original format.
The main gotcha is the external jq dependency, which must be installed separately.
A decorator that enforces time limits on function execution, raising an exception if the function runs longer than a specified number of seconds.
However, it is dormant (last release 2020-11-15) and carries platform and threading constraints: signal-based timeouts are Unix-only and main-thread-only, and…
Provides a Python client library for the turbopuffer vector database API, with both synchronous and asynchronous interfaces for querying and managing vector embeddings and full-text search.
Install it if you need to query or manage vector embeddings via the turbopuffer API from Python.
Odfpy reads and writes OpenDocument v. 1.2 files with validation to prevent invalid document construction, enforcing grammar rules, required attributes, and element content constraints.
Tibs provides immutable and mutable bit-level data structures (Tibs and Mutibs) for working with binary data as sequences of individual bits, supporting typed field extraction, bitwise operations, and searching without byte alignment constraints.
MPIRE provides a faster, more feature-rich alternative to Python's standard multiprocessing.Pool, with an API designed for easy parallelization of embarrassingly parallel tasks.