Packages
Validates protocol buffer messages against semantic rules defined in protobuf schema annotations, enforcing constraints that go beyond type checking.
However, the repository is archived and abandoned, so install only if you are comfortable maintaining a frozen dependency or if your validation rules are stable and…
Provides pre-built wheels of the Google Protocol Buffer compiler (protoc) version 30.2 for multiple platforms, eliminating the need to compile protoc from source during installation.
However, verify that version 30.2 is appropriate for your use case—the package is aging and may not receive updates if newer protobuf releases are available.
Protoletariat rewrites Python imports generated by protoc, converting absolute imports to relative imports so that generated protobuf code works correctly in Python packages.
Validates Protocol Buffer messages against semantic rules defined in Protobuf annotations, supporting both standard field constraints and custom CEL expressions.
Install it if you're already using Protobuf and need to validate messages at runtime.
Implements the W3C PROV Data Model in Python, enabling creation, import, and export of provenance documents in multiple formats including PROV-O, PROV-XML, PROV-JSON, and PROV-JSONLD.
Install it if you need to work with provenance data in a standards-compliant way or integrate with systems that consume PROV documents.
Creates a directory and all its parent directories if they don't exist, reporting the outcome to a provided sink function like print.
Prowler automates security and compliance assessments across multiple cloud providers using hundreds of built-in security checks and compliance frameworks.
Proxmoxer is a Python wrapper for the Proxmox REST API that lets you programmatically manage Proxmox Virtual Environment (PVE), Proxmox Mail Gateway (PMG), and Proxmox Backup Server (PBS) over HTTPS, SSH, or the pvesh utility.
ProxSuite is a numerically robust quadratic programming solver that handles dense, sparse, and matrix-free problems with specialized algorithms for robotics and general optimization.
Parses and handles the PROXY protocol (v1 and v2) for asyncio-based servers, allowing detection of original client connection information when traffic passes through proxies or load balancers.
However, verify that the last update (2024-04-27) and lack of recent activity align with your support expectations—if you need active maintenance or rapid bug fixes,…
A lightweight, pluggable HTTP proxy server framework that handles forward proxying, reverse proxying, and TLS interception with support for custom plugins and asyncio-based concurrency.
Provides a lazy-evaluation proxy object that defers function calls until their result is actually accessed, extracted from werkzeug for use outside web contexts.
A Python client for the Proxycurl API that enriches and looks up LinkedIn profiles and company data through programmatic API calls.
However, verify the license terms first, confirm the Proxycurl service is still active, and ensure your chosen concurrency model (asyncio, gevent, or twisted) remains…
Provides a unified Python interface for managing proxies across multiple providers including BrightData and WebShare, with support for proxy selection algorithms and format conversion.
Implements multiway number partitioning and bin packing algorithms with support for exact and approximate methods, multiple input formats, and configurable optimization objectives.
However, the aging maintenance status (last release over a year ago, Pre-Alpha classifier) and lack of recent activity suggest treating it as stable but not actively…
ps_mem reports the actual core memory usage (private plus shared) for each running program on Linux, breaking down RAM consumption by process.
However, the project has not been updated since 2022, so it may not work correctly on very recent Linux kernels or distributions, and no fixes will be forthcoming.
PScript compiles a Python subset to JavaScript, enabling you to write browser-facing code in Python syntax instead of JavaScript.
The main gotcha is that only a Python subset compiles—you need to verify your code will translate before committing to this approach.
psd-tools reads and writes Adobe Photoshop PSD/PSB files, exports layer images as NumPy arrays or PIL images, and can compose layers back into flattened images.
PsmPy implements propensity score matching for observational studies, using logistic regression and KNN algorithms to match treated and control subjects on covariates and estimate causal effects.
However, maintenance is aging (last release 275 days ago), so consider it stable for established workflows but not actively developed; for active support or…
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
Wraps psutil to allow multiple independent instances in the same process by isolating global state, solving the library's inherent limitation of maintaining state through global variables.
However, if you only use psutil once per process, this wrapper adds unnecessary indirection—use psutil directly instead.
Integrates psycopg2 with coroutine libraries (eventlet, gevent) by registering wait callbacks that allow asynchronous database operations within a blocking interface.
Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.
Install it if you need to connect Python to PostgreSQL.
Provides compiled C optimizations for the PostgreSQL database adapter, accelerating database operations when installed as an optional component.
psycopg-c is an optional C-compiled optimization package for Psycopg 3 that speeds up database operations by replacing pure-Python components with compiled extensions.
Provides a connection pool for Psycopg 3, managing reusable PostgreSQL database connections to reduce overhead and improve performance in applications that make frequent database queries.
PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling thread-safe connections, cursors, and SQL execution with native support for PostgreSQL data types.
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Manages a pool of reusable PostgreSQL connections via psycopg2, reducing connection overhead in multi-threaded applications.
Psygnal implements the observer pattern with a Qt-style signals API, allowing objects to emit events that connected callbacks can listen to, with optional type checking and threading support.
PTable formats tabular data into visually appealing ASCII tables, supporting row-by-row or column-by-column data entry, CSV import, and database cursor integration.
Extends Model Explorer with visualization support for PyTorch Executorch PTE files targeting Arm Ethos-U NPU, Arm VGF, and XNNPACK backends.
ptpython is an advanced interactive Python shell that replaces the standard REPL with syntax highlighting, multiline editing, autocompletion, and configurable key bindings.
Install it if you spend significant time in the Python REPL and want syntax highlighting, autocompletion, and better editing—it's a straightforward quality-of-life…
Run a subprocess in a pseudo terminal (pty) and interact with its input and output, enabling automation of interactive programs that require terminal features like password prompts or curses-style interfaces.
However, note that it is aging (last release 2020-12-28) and not actively maintained; it works well for its narrow, well-defined purpose but won't receive updates for…
PubChemPy is a Python wrapper around the PubChem REST API that lets you search for chemical compounds by name, substructure, or similarity, retrieve their properties, and convert between chemical file formats.
Install it if you need programmatic access to PubChem data.
Publishes messages to multiple endpoints via HTTP or ZMQ using the EPCP protocol, with optional JWT and basic authentication.
Provides a decorator-based alternative to Python's `__all__` list for marking which names should be exported from a module or package.
Publication hides private implementation details and imports from a module's public namespace by respecting `__all__`, while keeping them accessible via a `_private` pseudo-module for internal use.
Extracts the public suffix and registrable domain from a domain name using the Public Suffix List, with support for IDNA encoding, wildcard handling, and strict validation.
However, do not use it if you require current public suffix data—the bundled list is from 2019-12-21 and the project is abandoned.
Parses the Public Suffix List to extract the public and private (registrable) portions of domain names, with support for internationalized domain names and Punycode.
Install it if you need reliable public suffix parsing; the daily-updated built-in list and pure-Python implementation make it a practical choice.