Packages
Provides a `qualname()` function that emulates Python 3.3+'s `__qualname__` attribute for classes and nested functions in older Python versions by parsing source code and traversing the AST.
Install only if you are maintaining legacy Python 2 code with no path to upgrade and have verified the package works in your specific environment.
Converts TensorFlow, Keras, TensorFlow.js, and TFLite models to ONNX format via command line or Python API, enabling model portability across different inference runtimes.
Provides a searchable database of current and historical courts with string matching, date filtering, and bankruptcy court identification for legal research and case management applications.
Install it if you need reliable court name resolution or court metadata lookup.
Looks up geolocation data (country, region, city, latitude/longitude, ISP, timezone, and more) from an IP address or hostname by querying an IP2Location BIN database file.
A Python client library for sending metrics to Statsd servers, with support for tags to work across different Statsd implementations.
However, be aware it is in Beta, marked WIP, and has not been updated since June 2023—suitable for stable use cases but not for projects requiring active maintenance…
alchemlyb parses molecular dynamics simulation output, extracts uncorrelated samples from timeseries data, and estimates free energies using MBAR, BAR, and thermodynamic integration methods.
Install it if you work with alchemical free energy calculations; skip it if you do not.
Visualizes Python module dependencies as graphs by analyzing import bytecode and generating SVG or PNG diagrams using Graphviz.
Provides a Python interface to the Ghostscript C-API using ctypes, enabling PostScript and PDF processing through both low-level and high-level APIs.
However, the aging maintenance status (443 days since last release) and GPL-3.0-or-later copyleft license warrant careful consideration of your project's licensing…
A pytest plugin that integrates Apache Spark and PySpark into your test suite, providing session-scoped fixtures for SparkContext and SparkSession with configurable Spark options.
However, note that maintenance is aging—the last release was 450 days ago—so verify compatibility with your specific PySpark version before relying on it for new…
Pockets provides a collection of utility functions for common Python tasks like converting between naming conventions (camelCase and underscore_separated), resolving string names to objects, automatic logging, and peek-ahead iteration.
Python client for the Twilio Authy two-factor authentication API, supporting one-time passwords via SMS/voice, soft tokens (TOTP), and push authentication.
Provides Python logging handlers that send log messages to Graylog servers using the GELF (Graylog Extended Log Format) protocol over TCP, UDP, TLS, HTTP, or HTTPS.
However, maintenance is aging (last release 426 days ago), so verify that it works with your specific Graylog version and Python release before committing to production.
PyGlove provides symbolic object-oriented programming for Python, enabling direct manipulation of Python objects and programs through a mutable symbolic model with built-in search and iteration primitives.
Install it if you need to search over program variants, explore hyperparameters systematically, or build flexible ML code that evolves.
PyDotPlus provides a Python interface to Graphviz's Dot language, allowing you to programmatically create, parse, and manipulate graph definitions for rendering visualizations.
Generates UML diagrams from text markup by communicating with a PlantUML server, avoiding the need to install Java or spawn shell subprocesses.
However, be aware that the package has not been actively maintained since 2019, so compatibility with modern Python versions is unverified and no active support is…
Retrieves MAC addresses of local network interfaces and remote hosts on the LAN via a single pure-Python function, with no compiled dependencies.
JMP provides mixed precision training support for JAX by managing dtype policies and loss scaling to reduce memory bandwidth and improve computational efficiency during neural network training.
The main gotcha is that JAX must be installed separately first with the correct accelerator support; beyond that, JMP is straightforward to integrate into existing…
Faiss provides GPU-accelerated similarity search and clustering for dense vectors, supporting exact and approximate nearest-neighbor queries on datasets from memory to billions of vectors.
A high-level Python wrapper around the lakeFS SDK that simplifies interaction with lakeFS repositories, branches, and objects through a cleaner API with environment-based credential inference.
Simplifies sending emails via Gmail or any SMTP server, with built-in support for attachments, HTML content, and asynchronous sending.
Parses and generates NMEA 0183 GPS/GNSS protocol messages, enabling Python applications to read and work with positioning data from GPS receivers and maritime devices.
Install it if you need to work with GPS/GNSS protocol data in Python; skip it only if you need support for Python versions below 3.10 or have no use for NMEA message…
Extracts legal citations from text, recognizing case names, statutory references, law journal citations, and other citation patterns common in American legal documents.
Install it if you need to extract or parse legal citations from American legal documents.
Adds JSON parsing and validation support to WTForms, enabling form validation against JSON data in RESTful API contexts.
Pamela provides a Python interface to the Linux/Unix PAM (Pluggable Authentication Modules) system, enabling authentication, session management, and credential handling through ctypes bindings.
Python SDK for the TwelveLabs video understanding platform, providing methods to create indexes, upload videos, and perform search and analysis tasks on video content.
However, verify the license terms first—they are not declared in the package metadata.
Wraps Python's subprocess module to simplify executing local commands, remote commands over SSH, and concurrent command pools with proper argument escaping and error handling.
Integrates PyTorch profiling data with TensorBoard, providing GPU timeline tracing and performance diagnostics for ML workloads through a TensorBoard plugin interface.
However, the last release was in October 2023; verify compatibility with your current PyTorch version before relying on it for new projects.
A client library for querying PyPI and pip-compatible repositories via the Simple Repository API (PEP 503 and related standards), retrieving project metadata, package files, and digests.
Install it if you need to query or download packages programmatically outside of pip's normal workflow.
Generates OpenAPI documents and validates HTTP requests and responses using Python type annotations with pydantic, supporting Flask, Quart, Falcon, and Starlette.
Warlock creates self-validating Python objects using JSON schema, automatically enforcing type and structure constraints on object attributes and tracking changes as JSON Patch documents.
qasync integrates asyncio coroutines into PyQt/PySide applications by providing a PEP 3156 event loop, allowing async/await syntax directly in Qt's main thread without threading.
Install it if you're building a PyQt/PySide application and want to use async/await instead of threading.
Converts English words between singular and plural forms using a rule-based system, with optional count formatting.
Install it if you need reliable English word pluralization in automation or text generation; skip it if word forms are known at design time or if you need a heavier…
Flask-OAuthlib adds OAuth 1.0a and OAuth 2.0 client and provider support to Flask applications, enabling authentication with remote OAuth services and creation of your own OAuth providers.
Adapts Django REST framework to output responses in JSON:API specification format, handling serialization, pagination, filtering, and relationship rendering according to the JSON:API standard.
Install it if JSON:API format is a requirement or a deliberate choice for your API design.
Python SDK for the Spider Cloud API that enables website scraping, crawling, link extraction, screenshot capture, and LLM-compatible data collection through a managed cloud service.
However, it requires a Spider Cloud account and API key—this is a client library for a paid service, not a standalone scraper.
Provides Python bindings to integrate Mercado Pago's payment APIs, enabling you to create orders, process payments, and manage transactions programmatically.
Install it if you need to integrate Mercado Pago payments into a Python application.
Reads configuration files in INI, TOML, or JSON format through a single unified interface, abstracting away format-specific syntax differences.
However, be aware that maintenance is dormant—last release was 933 days ago—so consider whether you need active support or can tolerate a stable, unchanging library.
Automate programmatic interaction with HTTP web servers by simulating a stateful browser—fill forms, follow links, manage history, and parse HTML without a GUI.
However, consider that maintenance is aging—last release was 840 days ago—so evaluate whether the package meets your Python version and modern web compatibility needs…
scholarly retrieves author profiles, publication metadata, and citation information from Google Scholar without requiring CAPTCHA solving, using web scraping with proxy support.
However, expect to invest time in proxy setup (required for heavy queries) and be aware that the last PyPI release is from early 2023, so test compatibility with your…
PyGreSQL is a Python interface to PostgreSQL databases that wraps the libpq C API, allowing direct database connections and queries from Python code.