prometheus-client
Python client for the Prometheus monitoring system.
Install
prometheus-client on PyPI
pip
pip install prometheus-clientuv
uv add prometheus-clientpoetry
poetry add prometheus-clientPackage facts
| License | Apache-2.0 AND BSD-2-Clause (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 20 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: prometheus_client-0.26.0-py3-none-any.whl
Keywords: prometheus, monitoring, instrumentation, client
About prometheus-client
from the package's own PyPI description — quoted content, verbatim
Prometheus Python Client
The official Python client for Prometheus.
Installation
pip install prometheus-client
This package can be found on PyPI.
Documentation
Documentation is available on https://prometheus.github.io/client_python
Links
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Official Python client library for Prometheus that instruments applications to expose metrics in Prometheus format for collection and monitoring.
Low friction installation with no runtime dependencies. Actively maintained with recent releases (20 days since last update) and strong community backing, supporting Python 3.9–3.14 across CPython and PyPy.
Dual-licensed under Apache-2.0 and BSD-2-Clause (permissive), allowing use in most commercial and open-source contexts without significant restrictions.
Usage
pip install prometheus-client
from prometheus_client import Counter
requests = Counter('requests_total', 'Total requests')
requests.inc()
Requires Python 3.9 or later.
Verdict: Well-maintained official Prometheus client with zero known vulnerabilities, permissive licensing, and no external dependencies. Suitable for production monitoring instrumentation in Python applications.
Needs verification
- Whether the package includes built-in HTTP server for metrics exposition or requires additional setup.
- Support for advanced Prometheus features (histograms, summaries, gauges) beyond basic counters.
Similar packages
permissive · top 1,000 on PyPI
editablespermissive · top 1,000 on PyPI
opentelemetry-instrumentation-dbapipermissive · top 1,000 on PyPI
opentelemetry-instrumentation-djangopermissive · top 1,000 on PyPI
opentelemetry-apipermissive · top 100 on PyPI
opentelemetry-instrumentationpermissive · top 1,000 on PyPI
azure-monitor-opentelemetry-exporterpermissive · top 1,000 on PyPI
opentelemetry-sdkpermissive · top 100 on PyPI
opencensuspermissive · top 1,000 on PyPI
opentelemetry-instrumentation-psycopg2permissive · top 1,000 on PyPI