NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #4415 most downloaded on PyPI
A small python api to collect data from prometheus
Latest stable
0.7.2
Last release 7 months ago
13 Apr 2026
Ships fairly regularly
a new release about every 6 months
Nearly every release is documented
notes for 17 of 18 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
22 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Fix ReadTheDocs configuration to restore docs updates by @4n4nd in https://github.com/4n4nd/prometheus-api-client-python/pull/325
Full Changelog: https://github.com/4n4nd/prometheus-api-client-python/compare/v0.7.1...v0.7.2
Bump urllib3 from 2.3.0 to 2.6.0 by @dependabot[bot] in https://github.com/4n4nd/prometheus-api-client-python/pull/314
Full Changelog: https://github.com/4n4nd/prometheus-api-client-python/compare/v0.7.0...v0.7.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Bump urllib3 from 2.3.0 to 2.5.0 by @dependabot[bot] in https://github.com/4n4nd/prometheus-api-client-python/pull/300
/series endpoint by @titouanfreville in https://github.com/4n4nd/prometheus-api-client-python/pull/307Full Changelog: https://github.com/4n4nd/prometheus-api-client-python/compare/v0.6.0...v0.7.0
Add py.typed file to package for mypy by @RemiDesgrange in https://github.com/4n4nd/prometheus-api-client-python/pull/297
py.typed file to package for mypy by @RemiDesgrange in https://github.com/4n4nd/prometheus-api-client-python/pull/297Full Changelog: https://github.com/4n4nd/prometheus-api-client-python/compare/v0.5.7...v0.6.0
@FRosner made their first contribution in https://github.com/4n4nd/prometheus-api-client-python/pull/280
Full Changelog: https://github.com/4n4nd/prometheus-api-client-python/compare/v0.5.6...v0.5.7
Bump pillow from 10.1.0 to 10.3.0 by @dependabot in https://github.com/4n4nd/prometheus-api-client-python/pull/282
Full Changelog: https://github.com/4n4nd/prometheus-api-client-python/compare/v0.5.5...v0.5.6
⬆️ Bump certifi from 2022.12.7 to 2023.7.22 by @dependabot in https://github.com/4n4nd/prometheus-api-client-python/pull/266
Full Changelog: https://github.com/4n4nd/prometheus-api-client-python/compare/v0.5.4...v0.5.5
Added Proxy Feature #261 by @mayankkholia in https://github.com/4n4nd/prometheus-api-client-python/pull/262
Full Changelog: https://github.com/4n4nd/prometheus-api-client-python/compare/v0.5.3...v0.5.4
Add optional auth parameters for requests by @ugurzongur in https://github.com/4n4nd/prometheus-api-client-python/pull/245
Full Changelog: https://github.com/4n4nd/prometheus-api-client-python/compare/v0.5.2...v0.5.3
Fix [FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.] by @psujit7…
Full Changelog: https://github.com/4n4nd/prometheus-api-client-python/compare/v0.5.1...v0.5.2
Release of version 0.5.0 by @khebhut in https://github.com/4n4nd/prometheus-api-client-python/pull/230
Full Changelog: https://github.com/4n4nd/prometheus-api-client-python/compare/v0.5.0...v0.5.1
update deps and change python version in pipfile to 3.8
oldest_data_datetime parameter, the only accepted input types are datetime.datetime/datetime.timedelta or NoneTypeMetric and MetricsListstart_time and end_time (datetime objects) to the Metric classprometheus-api-clientget_current_metric_valueAdd method to check connection to Prometheus
Updated the get_metric_aggregations to return global aggregations for both range query and current time query
:pushpin: Automatic update of dependency numpy from 1.19.0 to 1.19.1
Update setup.py setup.py should get version info directly from __init__.py
oldest_data_datetime parameter, the only accepted input types are datetime.datetime/datetime.timedelta or NoneTypeMetric and MetricsListstart_time and end_time (datetime objects) to the Metric classprometheus-api-clientget_current_metric_valueAdded classes Metric, MetricsList Changed date inputs from strings to datetime.datetime objects Changed range inputs from strings to datetime.datetime
Added classes Metric, MetricsList
Changed date inputs from strings to datetime.datetime objects
Changed range inputs from strings to datetime.datetime or datetime.timedelta objects
Added utils.py to parse strings to datetime.datetime or datetime.timedelta objects
Fix version numbers for release
oldest_date_datetime changed input type, it can either be a datetime object or a timedelta object.
Metric class changes:
oldest_date_datetime changed input type, it can either be a datetime object or a timedelta object.PrometheusConnect class changes:
start_time and end_time parameters don't accept strings any more, they can only be datetime objects.chunk_size parameter can only be a timedelta objectutils.py added
Metric object has start_time and end_time now Added a param parameter for metric get functions, these params are directly passed to the get request
Metric object has start_time and end_time now
Added a param parameter for metric get functions, these params are directly passed to the get request
Nothing published for this version
Added Metric and MetricsList class to make metric data manipulation easier.
Added Metric and MetricsList class to make metric data manipulation easier.
Nothing published for this version
One column per quarter.