Packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
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.
Provides Protobuf encoding utilities for OpenTelemetry telemetry data, used internally by gRPC and HTTP exporters to serialize traces, metrics, and logs.
Exports telemetry data from Python applications to an OpenTelemetry Collector using the OTLP protocol over gRPC with Protobuf serialization.
Install it if you are already using opentelemetry-sdk and need to send data to a collector via gRPC—it has low friction, no known vulnerabilities, and permissive…
Automatically captures and traces HTTP requests made by the requests library, integrating with OpenTelemetry to send trace data to observability backends.
Install only if you have an OpenTelemetry SDK and exporter already configured; this package alone does not export traces.
Provides ASGI and WSGI middleware and HTTP utilities for OpenTelemetry instrumentation of web frameworks like Django, Starlette, and FastAPI to track request timing.
Installs OpenTelemetry exporters for sending telemetry data to an OpenTelemetry Collector via gRPC or HTTP protocols.
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.
Ensures OpenTelemetry context is propagated across Python threads, allowing distributed tracing to follow execution across thread boundaries without producing telemetry data itself.
Watchdog monitors file system events across Linux, macOS, Windows, and BSD, providing a Python API and command-line utilities to detect file and directory changes in real time.
Install it if you need to monitor file system events; the medium install friction is a one-time cost for reliable, platform-native behavior.
Exports OpenTelemetry metrics to Prometheus for scraping and monitoring. Connects your application's metric collection to Prometheus's pull-based collection model.
However, note the beta status (0.65b0) and the hard constraint against multiprocessing—verify both fit your use case before committing to production.
Automatically instruments FastAPI applications to emit OpenTelemetry traces for HTTP requests, enabling observability of web request handling and performance metrics.
Provides ASGI middleware for OpenTelemetry that instruments request timing and tracing across ASGI frameworks like Django, Starlette, FastAPI, and Quart.
Provides a Python client library to send metrics, events, and service checks to Datadog via its HTTP API and DogStatsD protocol, with support for both UDP and Unix domain socket transports.
Install it if you are already using Datadog and need to send metrics or events from Python; if you need comprehensive API coverage for all Datadog endpoints, consult…
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Adds distributed tracing to HTTP requests made by httpx and httpx2 clients, automatically capturing request/response details as OpenTelemetry spans.
Automatically captures and traces HTTP requests made by urllib3, integrating them into OpenTelemetry observability pipelines with configurable filtering and hooks.
Adds automatic tracing and observability instrumentation to Python database API calls, capturing query execution, timing, and errors for OpenTelemetry monitoring systems.
Install only if you have an OpenTelemetry collector or backend already in place to consume the traces.
PostHog Python SDK integrates product analytics and feature flagging into Python applications, sending events and tracking user behavior to a PostHog instance.
Install it if you need to send analytics or feature flag data from a Python application to PostHog; the minimal dependency footprint and current Python version…
Exports OpenTelemetry traces, metrics, and logs from Python applications to Azure Monitor for distributed tracing, performance monitoring, and observability.
Provides WSGI middleware for OpenTelemetry that automatically instruments request timing and tracing in any WSGI-based web framework like Django or Flask.
Adds distributed tracing to Django applications by instrumenting HTTP requests and propagating trace context across services using OpenTelemetry.
However, it is in beta status (0.65b0), so production use should be evaluated carefully and tested thoroughly.
Adds distributed tracing instrumentation to psycopg2 database connections, automatically capturing SQL queries and their execution context for OpenTelemetry observability.
ddtrace instruments Python applications to send distributed tracing, profiling, error tracking, and deployment data to Datadog's APM platform.
Adds distributed tracing to Flask web applications by instrumenting HTTP requests and responses through OpenTelemetry's WSGI middleware integration.
Install only if you have a tracer provider and exporter already configured; the package itself does not export spans.
Captures and traces HTTP requests made by Python's urllib library, emitting OpenTelemetry spans for observability and monitoring.
Provides common SQL operators, hooks, and utilities for Apache Airflow workflows that need to execute SQL queries and manage database connections across multiple SQL providers.
Integrates Python's standard logging module with OpenTelemetry to emit log records as telemetry data, enabling centralized observability of application logs alongside traces and metrics.
Adds distributed tracing to SQLAlchemy database queries by instrumenting the library to emit OpenTelemetry spans for each SQL operation.
Provides a Python distribution package for OpenTelemetry that bundles the API, instrumentation, and SDK libraries to enable automatic telemetry collection across applications.
However, do not use in production—the description explicitly states these libraries are in beta and shouldn't generally be used in production environments.
Integrates Flask App Builder with Apache Airflow to provide web UI and authentication components for Airflow deployments.
wandb is a machine learning experiment tracking and visualization platform that logs metrics, hyperparameters, datasets, and models to a centralized dashboard for monitoring and comparing training runs.
Install it if you need centralized experiment tracking, comparison, and visualization for machine learning projects; skip it if you prefer local-only logging or have…
Adds distributed tracing to HTTP requests made by the aiohttp client library, capturing request and response details for OpenTelemetry observability pipelines.
Langfuse is a Python SDK for observability, tracing, and evaluation of LLM applications, with built-in support for datasets, experiments, prompt management, and a REST API client.
OpenCensus provides distributed tracing and stats collection for Python applications, letting you instrument code to measure resource usage and track request flows across services.