Install & Compatibility
Where this runs
tested against v7.2.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 56.7MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 5.8s · import 0.000s · 54MB
59MB installed
● package 59MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Client
✓ from gnocchiclient import Client
✗ from gnocchiclient.v1 import Client
Create a client and list metrics.
from gnocchiclient.v1 import Client
import os
# Optionally set auth token via environment variable
os.environ.setdefault('GNOCCHI_ENDPOINT', 'http://localhost:8041')
os.environ.setdefault('GNOCCHI_AUTH_TOKEN', '')
client = Client(
endpoint=os.environ['GNOCCHI_ENDPOINT'],
auth_token=os.environ.get('GNOCCHI_AUTH_TOKEN', '')
)
# List metrics
metrics = client.metric.list()
print(metrics)
gnocchi --version
Upgrade
Version history
7.2.0latest on PyPI · released Mar 24, 2025
Audit
Dependencies
No dependency data recorded yet.