awpr
Library that helps an application report progress to Argo Workflows.
Installation
pip install awpr
Usage
Set the environment variable and run your application:
ARGO_PROGRESS_FILE=/tmp/progress.txt
from awpr.awpr import ArgoWorkflowsProgressReporter
awpr = ArgoWorkflowsProgressReporter()
awpr.set_total_progress(100)
awpr.start_reporting()
awpr.set_current_progress(20)
awpr.set_current_progress(30)
awpr.get_progress_percent()
awpr.set_progress_complete()
awpr.get_progress_percent()
Metadata
Release files for awpr 0.0.266
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| awpr-0.0.266.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awpr-0.0.266-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / awpr-0.0.266.tar.gz
| Download URL | awpr-0.0.266.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
669355a9616b1bf9602b3523f1e9e2d3f170cac3de603b5017983df6ed6acf7b
|
|
BLAKE2b-256 checksum How to use checksums |
5165262f652a0dd67f5ad6d65ab7bf19dd7e2962ab836af846b9250a68e9a107
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.12.3 Linux/6.17.0-1022-azure
|
Release files / awpr-0.0.266-py3-none-any.whl
| Download URL | awpr-0.0.266-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3f5eb83d085127aaf41ac7c5605727e280bedb14f33e26ddfe7ecbbb1787845
|
|
BLAKE2b-256 checksum How to use checksums |
090da6d54c488a101170e0eaf82149e6f4479576115ace1e3d975cb02d03f07c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.12.3 Linux/6.17.0-1022-azure
|