werkflow-metrikflow
Version 0.3.0
Asynchronous Metrikflow metrics publishing and loading module for Werkflow.
Installation
pip install werkflow-metrikflow
Features
- Optional Dependency Safe: Imports cleanly even when the optional
metrikflowruntime is not installed (Metrik.module_enabled = False, raisingMissingModuleErroron instantiation or@requires(Metrik)validation). - Senders & Loaders:
connect_sender()andconnect_loader()connect to configured Metrikflow backends asynchronously. - Metric Operations:
record_metric(),send_metric()(with metricunit,Event,Interval, andRatesupport), andload_metric(). - Async Lifecycle: Properly shuts down connected senders/loaders in
await metrik.close()andmetrik.abort().
Usage
from werkflow_metrikflow import Metrik
async with Metrik() as metrik:
await metrik.connect_sender(sender_type="prometheus", config={...})
await metrik.send_metric(
name="deploy_duration_seconds",
value=12.4,
unit="seconds",
)
Dependencies
werkflow-corewerkflow-shellmetrikflow
Requirements
- Python
>=3.11
Metadata
Release files for werkflow-metrikflow 0.3.1
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 |
|---|---|---|---|---|
| werkflow_metrikflow-0.3.1.tar.gz | 4.4 kB | Without provenance | Details for werkflow_metrikflow-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| werkflow_metrikflow-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for werkflow_metrikflow-0.3.1-py3-none-any.whl |
Total release size: 9.3 kB
Release files / werkflow_metrikflow-0.3.1.tar.gz
| Download URL | werkflow_metrikflow-0.3.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d1cb059ec7e053493aca4e7d80001affa8cdca7590c26311d20aba836b1433f
|
|
BLAKE2b-256 checksum How to use checksums |
dbf263606f4b7dffb4745450b47f549940e8f488b660a7bc8fb3807f8c383d6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Release files / werkflow_metrikflow-0.3.1-py3-none-any.whl
| Download URL | werkflow_metrikflow-0.3.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
660ce2f6555d08ee88e6ae4e81c8604dfd7ec907e6e08f28f0db19ea8a5e4647
|
|
BLAKE2b-256 checksum How to use checksums |
aa603005510798b9ffee19b89b67bcef664113a379a33faec98f573e7967d514
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Security for werkflow-metrikflow 0.3.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.