aioprom
Minimal asyncio HTTP server that exposes Prometheus metrics.
Install
pip install aioprom
Usage
from aioprom import start_server
# See package docstrings for configuration.
Development
Enable repo git hooks (optional; auto-bumps patch VERSION in aioprom/aioprom.py when unchanged vs last commit):
git config core.hooksPath .githooks
Build and check the distribution:
pip install -e ".[dev]"
pytest -q
python -m build
twine check dist/*
Debug a failing wheel build with verbose logs (uses .venv/bin/python, pip wheel -vv, and --no-build-isolation so setuptools runs in that env, not an ephemeral build env). make wheel-debug runs make clean-build first so a previous build/ tree cannot trigger [Errno 17] File exists on aioprom-*.dist-info.
python3 -m venv .venv && .venv/bin/python -m pip install -U pip
make wheel-debug
# or only: make clean-build
The package targets Python 3.9+ (requires-python / build tooling: setuptools>=77, [project].license-files). prometheus-client is required at ≥ 0.9.0.
CI on push to main runs via .github/workflows/release.yml.
Upload to PyPI (use API tokens, not your password):
twine upload dist/*
TestPyPI:
twine upload --repository testpypi dist/*
Metadata
Release files for aioprom 1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aioprom-1.0.9.tar.gz | 19.4 kB | With provenance | Details for aioprom-1.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aioprom-1.0.9-py3-none-any.whl | Python 3 | none | any | Details for aioprom-1.0.9-py3-none-any.whl |
Total release size: 37.6 kB
Release files / aioprom-1.0.9.tar.gz
| Download URL | aioprom-1.0.9.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d05e50b2a8acf12d942dea05be68b57248bb9a92f55a8312641986d2de9297be
|
|
BLAKE2b-256 checksum How to use checksums |
2bf43a3f44fdf5bd51f82e219f2cce2ee970373293dd45bdc7a114225b0de654
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / aioprom-1.0.9-py3-none-any.whl
| Download URL | aioprom-1.0.9-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36cdb524d5fe9a6672a0f15ef97f2ef9b1e3db6eaf73705d30182968551272d8
|
|
BLAKE2b-256 checksum How to use checksums |
c2d17f43108e543ba45bf6e3f7f94642d999849729fa0f0ecf92c979bb06ec8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logSecurity for aioprom 1.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for aioprom-1.0.9.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.