Packages
Instruments Python applications to expose metrics in Prometheus format, enabling monitoring and alerting on application behavior and performance.
Install it if you need to expose application metrics to Prometheus; it is the standard choice for this task.
Provides optional C/Rust-compiled speedups for Prometheus client_python's multiprocess mode, designed to accelerate aggregation of metrics from many .db files.
Adds Prometheus metrics collection and exposure to FastAPI applications with minimal setup, tracking HTTP request counts, sizes, durations, and custom metrics.
Exports HTTP request metrics from Flask applications to Prometheus, tracking request duration, count, exceptions, and custom metrics via decorators.
However, the aging maintenance status (521 days since last release) means you should verify compatibility with your Flask and Python versions before committing to…
Sends time-series metrics to Prometheus-compatible remote storage backends using the Prometheus Remote Write protocol, with support for authentication, batching, and custom headers.
Implements Promises/A+ specification for Python, enabling asynchronous value resolution and rejection with chainable then/catch handlers.
Install only if you are maintaining legacy code that already uses promise or integrating with a framework that requires it.
prompt_toolkit is a Python library for building interactive command-line applications with syntax highlighting, multi-line editing, code completion, and both Emacs and Vi key bindings.
Install it if you need to build an interactive command-line application beyond what the standard library's input() offers.
Prompt flow is a development suite for building, testing, and deploying LLM-based applications, integrating prompts, Python code, and external tools into executable flows with built-in tracing and evaluation.
Install it if you are building or managing LLM-based applications and want structured tooling for testing, evaluation, and deployment.
Executes prompt flow workflows with minimal dependencies, providing the core runtime needed to run flows in serving or cloud environments without the full development toolkit.
Provides a development toolkit for building, debugging, evaluating, and deploying LLM application flows with integrated tracing and observability.
Captures and visualizes the internal execution of LLM application flows (DAG and Flex) with OpenTelemetry-compatible tracing for observability.
Fetches prompt templates from Prompt Hub or loads them from local JSON/YAML files, providing a simple client interface to manage and access prompts via REST API.
PromptLayer is a Python SDK for managing, testing, and monitoring LLM prompts and agent requests with built-in tracing, template retrieval, and provider proxy support.
Prompty is a Python runtime for executing LLM prompts defined in a language-agnostic `.prompty` file format, with built-in support for Azure OpenAI, OpenAI, and serverless model invokers, plus tracing and CLI tooling.
However, verify the status of the two known vulnerabilities (GHSA-wxhm-2mq7-7697, PYSEC-2026-3538) before deploying to production, and confirm whether optional…
Parses Prometheus query language (PromQL) expressions into a Python-accessible abstract syntax tree that can be inspected, walked, transformed, and formatted back to PromQL.
Provides a simple Python interface to query the CMU Pronouncing Dictionary for word pronunciations, rhymes, and phonetic matching without requiring NLTK.
Pronto parses, browses, creates, and exports ontologies in OBO, OBO Graphs JSON, and OWL2 RDF/XML formats, providing a high-level Python interface to biomedical ontology data.
Install it if you need to work with biomedical ontologies in Python.
Provides fast cached-property decorators for Python 3.10+, with a C-extension implementation that mirrors functools.cached_property and adds an under_cached_property variant using self._cache storage.
Install it if you need faster cached properties than functools.cached_property or require the under_cached_property variant for specific architectural reasons.
Integrates PropelAuth's authentication and authorization service into FastAPI applications, providing user verification, token validation, and role/permission checking through FastAPI dependencies.
Validates access tokens and manages user authentication and authorization for B2B applications backed by PropelAuth, including organization membership, role, and permission checks.
ProperDocs is a static site generator that converts Markdown documentation into HTML, configured through a single YAML file and extensible with themes and plugins.
Install it if you need a straightforward static documentation generator; verify the plugin ecosystem and programmatic API match your workflow before committing to it…
Properscoring provides strictly proper scoring rules for evaluating probabilistic forecasts, including Continuous Ranked Probability Score (CRPS) and Brier Score methods that work with ensemble forecasts, Gaussian distributions, and arbitrary cumulative distribution functions.
However, verify compatibility with your Python version before relying on it in production; consider seeking an actively maintained alternative if you need ongoing…
Provides custom Python property decorators for defining required properties, writable properties with computed defaults, and cached properties that compute values on demand.
Provides runtime support and helper utilities for Python code generated by the Prophecy data orchestration platform, including configuration parsing, HTTP requests, secrets management, and compression.
Prophet forecasts time series data using an additive model that combines non-linear trends with seasonal patterns (yearly, weekly, daily) and holiday effects, handling missing data and outliers robustly.
Install it if your data has clear seasonal patterns and you want a library that requires minimal tuning; skip it if you need ultra-low latency inference or…
Prophy is a binary serialization protocol with a code generator that produces Python and C++ codecs from a schema definition language, enabling efficient cross-language message encoding and decoding.
PROPKA predicts pKa values of ionizable groups in proteins and protein-ligand complexes from 3D structure using empirical heuristics.
However, dormant maintenance and lack of recent commits mean you should test predictions against your own data or literature benchmarks before using results in new…
Provides Python implementations of core ProseMirror modules (model, transform, schema, test builder) for building and manipulating rich-text documents programmatically without requiring a JavaScript runtime.
Prospector aggregates multiple Python static analysis tools—including Pylint, pycodestyle, McCabe, and others—into a single command-line interface with sensible defaults and framework-aware configuration.
Protego parses robots.txt files and determines whether a given URL can be fetched by a user agent, supporting modern conventions like wildcards and length-based precedence rules.
Provides Protocol Buffer definitions and gRPC bindings for the Google Cloud Datastore API, enabling typed client communication with Google's datastore service.
Proto Plus wraps protocol buffers to provide Python classes that behave like native Python types while maintaining protocol buffer serialization and schema validation.
Install it if you're working with protocol buffers in Python and want a more Pythonic interface, or if you're using Google Cloud libraries that depend on it.
Parses and generates Protobuf schema files (.proto) to and from an abstract syntax tree, supporting proto2, proto3, and protobuf editions 2023 and 2024.
Decodes protobuf binary messages without requiring proto schema files, parsing wire-format data into structured field and type information.
However, do not rely on it for active bug fixes or new features—it is suitable for one-off analysis, debugging, or reverse-engineering tasks, not for mission-critical…
Generates well-typed, readable Python code from Protocol Buffer definitions and provides high-performance serialization/deserialization with a modern, ergonomic API.
However, it is still in Alpha status with a first release only months old; production use should weigh stability risk against the benefits of better developer…
Native Rust-based encoder/decoder extension that accelerates serialization and deserialization of Protocol Buffer messages.
Converts Protobuf message definitions into Pydantic models with validation, either as generated source code via a protoc plugin or as runtime-instantiated classes in Python.
Install it if your project uses both protobuf and pydantic and you want to avoid hand-maintaining duplicate message definitions.
Converts protocol buffer messages to Python dictionaries and back, with built-in support for datetime conversion and field validation.
A protoc plugin that generates Python client and server code for the Connect RPC protocol from Protobuf service definitions.
Generates Python support code for gRPC Gateway protoc annotations, bridging the gap between gRPC Gateway and Python protobuf stubs.