skillfed

prometheus-client

Python client for the Prometheus monitoring system.

prometheus-client Permissive license Apache-2.0 AND BSD-2-Clause Active 4,357 v0.26.0 released

Install

prometheus-client on PyPI

pip

pip install prometheus-client

uv

uv add prometheus-client

poetry

poetry add prometheus-client

Package 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

Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: System :: Monitoring

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

  • Releases: The releases page shows the history of the project and acts as a changelog.
  • PyPI

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.
prometheus metrics clientpython prometheus instrumentationexpose prometheus metricsprometheus monitoring libraryapplication metrics collectionprometheus exporter python

Similar packages