prometheus-client-python-speedups
What it is and what it does
prometheus-client-python-speedups is an optional compiled extension for the Prometheus Python client library, built in Rust and distributed as precompiled wheels for CPython across multiple architectures and platforms. It targets a specific performance bottleneck: when Prometheus client_python runs in multiprocess mode and accumulates many .db files, the aggregation step can become slow. This package provides faster C/Rust implementations of those aggregation routines.
The package is not meant to be used standalone—it is designed to be discovered and used optionally by prometheus_client itself. Users install it alongside prometheus_client if they encounter performance issues with multiprocess metric collection. Because the underlying disk format is not guaranteed between prometheus_client versions, this package may change signatures without notice and is tightly coupled to the client library's internals.
Use it for:
- Speed up metric aggregation in high-cardinality multiprocess Prometheus deployments with many worker processes.
- Reduce latency when scraping metrics from applications that generate large numbers of .db files in multiprocess mode.
- Optimize performance in containerized or serverless environments where process spawning creates many metric files.
- Accelerate metrics collection in data-intensive applications where Python-only aggregation becomes a bottleneck.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides optional C/Rust-compiled speedups for Prometheus client_python's multiprocess mode, designed to accelerate aggregation of metrics from many .db files.
Yes, if you use prometheus_client in multiprocess mode and experience performance issues with .db file aggregation. No, if you do not use multiprocess mode or have not identified metrics collection as a bottleneck. Caution: verify license terms before use, confirm compatibility with your prometheus_client version, and understand that this package is dormant and may not receive updates if prometheus_client's internal format changes.
Install
prometheus-client-python-speedups on PyPI
pip
pip install prometheus-client-python-speedupsuv
uv add prometheus-client-python-speedupspoetry
poetry add prometheus-client-python-speedupsInstalling prometheus-client-python-speedups
Before you install
Medium install friction due to compiled wheels across many architectures. Package is dormant (567 days since release) with no recent commits tracked, suggesting minimal ongoing maintenance or support.
License in practice
License status is unclear; no SPDX identifier or raw license text is available. Verify licensing before use in proprietary or restricted environments.
Quickstart
pip install prometheus-client-python-speedups
# Used internally by prometheus_client in multiprocess mode;
# no direct import or API call—speedups are optional and automatic.
Requires Python >=3.8. Designed as an optional extension to prometheus_client; verify compatibility with your installed prometheus_client version before deploying.
Verify before relying
- Whether speedups are automatically detected and used by prometheus_client or require explicit configuration.
- Compatibility matrix between this package version and specific prometheus_client versions.
- Whether the disk file format stability guarantee mentioned in the description applies across prometheus_client releases.
- License details and any attribution or compliance requirements.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 567 days since the last release |
| First released | |
| Downloads | 194,301/month — #9,838 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: prometheus_client_python_speedups-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; prometheus_client_python_speedups-0.1.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; prometheus_client_python_speedups-0.1.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; prometheus_client_python_speedups-0.1.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl; prometheus_client_python_speedups-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; prometheus_client_python_speedups-0.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl; prometheus_client_python_speedups-0.1.0-cp310-cp310-musllinux_1_2_aarch64.whl; prometheus_client_python_speedups-0.1.0-cp310-cp310-musllinux_1_2_armv7l.whl; prometheus_client_python_speedups-0.1.0-cp310-cp310-musllinux_1_2_i686.whl; prometheus_client_python_speedups-0.1.0-cp310-cp310-musllinux_1_2_x86_64.whl; prometheus_client_python_speedups-0.1.0-cp310-cp310-win32.whl; prometheus_client_python_speedups-0.1.0-cp310-cp310-win_amd64.whl; prometheus_client_python_speedups-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl; prometheus_client_python_speedups-0.1.0-cp311-cp311-macosx_11_0_arm64.whl; prometheus_client_python_speedups-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; prometheus_client_python_speedups-0.1.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; prometheus_client_python_speedups-0.1.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; prometheus_client_python_speedups-0.1.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl; prometheus_client_python_speedups-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; prometheus_client_python_speedups-0.1.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
prometheus-asyncAdds async/await support to Prometheus metrics…
permissive · top 15,000 on PyPI
prometheus-clientInstruments Python applications to expose…
permissive · top 1,000 on PyPI
neo4j-rust-extRust-compiled extensions that accelerate the…
permissive · top 15,000 on PyPI
prometheus-api-clientConnects to Prometheus monitoring systems and…
permissive · top 5,000 on PyPI
django-prometheusExports Django application metrics (requests,…
permissive · top 5,000 on PyPI
py-grpc-prometheusAdds Prometheus metrics collection to gRPC…
unclear · top 5,000 on PyPI
prometheus-fastapi-instrumentatorAdds Prometheus metrics collection and exposure…
permissive · top 5,000 on PyPI
aioprometheusA Prometheus client library for asyncio…
permissive · top 15,000 on PyPI
prometheus-flask-exporterExports HTTP request metrics from Flask…
permissive · top 5,000 on PyPI