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.
Formats Python logging output as JSON, making logs machine-readable for parsing and ingestion into log aggregation tools.
Install it if you need JSON-formatted logs for aggregation or centralized monitoring.
structlog is a structured logging library that lets you emit logs as dictionaries with flexible output formats (JSON, logfmt, console) and integrates with Python's standard logging or runs standalone.
Install it if your application needs JSON or logfmt output, or if you want to add rich context to logs without string formatting.
Loguru provides a pre-configured logger that replaces Python's standard logging with a simpler, zero-boilerplate interface for writing log messages to stderr, files, or custom handlers.
Install it if you want logging to feel natural but with the power, structure that production code needs.
Adds colored output to Python's standard logging module using ANSI escape sequences, with automatic fallback support for Windows terminals.
However, it is abandoned and receives no maintenance, so it will not adapt to future Python changes or platform updates.
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…
progressbar2 renders text-based progress bars in the terminal, handling custom widgets, concurrent bars, unknown-length progress, and clean output around logs and prints.
Simplifies reading and writing jsonlines (newline-delimited JSON) and ndjson format files, providing a lightweight interface for streaming JSON records.
Represents and manipulates IPv4, IPv6, MAC addresses and related network objects; supports CIDR notation, subnetting, set operations, IANA lookups, and DNS reverse generation.
Yaspin displays an animated terminal spinner to indicate progress during long-running operations, with support for 70+ spinner styles, colors, and text attributes via a context manager or decorator interface.
However, maintenance is aging (251 days since last release), so consider this if you need active bug fixes or Python version support updates; for stable,…
Logbook is a logging library that replaces Python's standard logging module with a simpler, more flexible API designed for both command-line and web applications.
Install it if you prefer a simpler logging API than stdlib logging and are willing to adopt a different library.
Provides Python abstractions and utilities for Controller Area Network (CAN) communication, supporting multiple hardware backends and message logging formats.
Install it if you need to communicate with CAN buses from Python.
django-axes tracks failed login attempts to Django sites and blocks attackers who exceed a configured attempt limit, supporting IP address, username, user agent, and combination-based tracking.
Install it if you operate a Django site with user authentication and want straightforward, configurable login-attempt monitoring and blocking.
Integrates Python's standard logging module with Click command-line applications, allowing you to configure and manage log output through Click's decorator and parameter system.
Provides pluggable health check endpoints for Django applications to monitor the app and its connected services like databases and DNS.
Install it if you need to integrate your Django app with orchestration systems or external monitoring.
Integrates structured logging into Django applications using structlog, automatically capturing request metadata like request IDs, user IDs, and IP addresses in each log entry.
Provides thread-safe and process-safe logging handlers for Python's standard logging module, enabling multiple processes to write concurrently to a single log file with built-in size-based and time-based rotation.
Formats Python logs as Elastic Common Schema (ECS) JSON, enabling structured log output compatible with Elastic Stack and APM correlation.
Install it if you need ECS-formatted logs for Elasticsearch or APM correlation; skip it if you don't use Elastic tooling.
StringZilla provides SIMD and SWAR-accelerated string operations including substring search, hashing, edit distances, sorting, and segmentation for Python, with no runtime dependencies.
Install only if your Python version is 3.10 or later.
Sends structured event logs from Python applications to Fluentd or Fluent Bit for centralized collection and analysis.
VizTracer traces Python code execution and generates interactive visualizations showing function calls, timing, and execution flow across threads, processes, and async code.
Install it if you need to profile or debug Python execution; the command-line interface requires no code changes for initial exploration.
Sends exceptions, errors, and log messages to Rollbar's error monitoring platform for real-time tracking and aggregation.
Install it if you want centralized error tracking and real-time alerting; skip it if you prefer self-hosted or alternative error monitoring solutions.
PyLogBeat sends log messages and structured data to Logstash's beats input plugin or other services implementing the Beats protocol, with server acknowledgment for reliable delivery.
However, the incomplete protocol implementation and aging maintenance status (264 days since last release) mean it is best suited for straightforward…
A Python logging handler that sends log records to Grafana Loki via HTTP with support for custom labels and authentication.
However, maintenance is dormant since 2019-11-28, so compatibility with recent Loki API changes or Python versions beyond 3.8 is unverified.
A Python logging handler that sends log events to a Splunk Enterprise server via its HTTP Event Collector API.
However, be aware it is dormant (last release 2021-08-17)—use it for established, low-change deployments.
Asynchronous Python logging handler that collects log events and transmits them to a remote Logstash instance in a separate worker thread, preventing the main application from blocking on log submission.
Configures Python's standard logging module to emit structured JSON logs compatible with centralized logging platforms like ELK, EFK, AWS Cloudwatch, and GCP Stackdriver.
However, the maintainer is actively seeking new owners due to work commitments.
Provides Python bindings to systemd's native C libraries for journal logging, daemon management, machine identification, and login session queries on Linux systems.
However, the high install friction (requires libsystemd dev headers and compilation) and the lack of recent PyPI releases mean you should prefer distribution packages…
Arize is a Python client library for interacting with the Arize AI engineering platform, enabling you to log, trace, evaluate, and manage ML models, datasets, experiments, and LLM applications through a unified API.
However, it is tightly coupled to Arize's hosted service—you will need API credentials and an active account to use it meaningfully.
Sends Python application logs to Coralogix, a cloud-based log analytics platform, via a Python logging handler that integrates with the standard library's logging module.
However, be cautious: the package is abandoned and receives no maintenance.
axiom-py provides a Python client for ingesting events and querying data in Axiom, with support for both synchronous and asynchronous operations, regional edge endpoints, and metrics queries using MPL.
Install it if you are building on Axiom's platform and need a Python client for event ingestion and querying.
Adds four custom logging levels (NOTICE, SPAM, SUCCESS, VERBOSE) to Python's standard logging module, filling gaps between the predefined levels.
However, the gap since the last release means no updates for modern Python versions, no security patches, and no bug fixes.
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.
ClearML is an ML/DL development and production suite that automates experiment tracking, captures environment and hyperparameter data, logs outputs and metrics, and provides orchestration and data management for machine learning workflows.
Sends Python log records to Logstash over UDP or TCP, formatting them as JSON events compatible with Logstash's input pipeline.
However, dormant maintenance since 2022 and source-only distribution create friction.
Provides Python logging handlers that format and send log messages to Graylog servers in GELF (Graylog Extended Log Format) via UDP, TCP, TLS, HTTP, or RabbitMQ.
Logfury adds automatic method-call tracing to Python classes and functions via metaclasses and decorators, logging entry points with arguments to help library maintainers debug without boilerplate.
Autologging provides decorators to automatically inject logging and method-call tracing into Python classes and functions, eliminating boilerplate setup code and allowing tracing to be configured independently from application logging.
ClearML Agent is a job scheduler and orchestration service that runs machine learning experiments on local or cloud resources, managing virtual environments, dependencies, and execution monitoring across Linux, macOS, and Windows.
Wraps OpenTelemetry with Arize-aware defaults to instrument and send LLM application traces to Arize or custom OTLP endpoints.
Install it if you're already using Arize or a compatible OTLP collector and want to avoid writing OTEL configuration boilerplate; skip it if you need raw…