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.267
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.267.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awpr-0.0.267-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / awpr-0.0.267.tar.gz
| Download URL | awpr-0.0.267.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b81fc5e8ee92e14a2436f3d891e1448105150c39b80aa5ffbe465f278ef48b5
|
|
BLAKE2b-256 checksum How to use checksums |
680d37cc9d86707e6b9c2b9dcaa29338a3b3e88baae65e713871c7b01732836a
|
| 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.267-py3-none-any.whl
| Download URL | awpr-0.0.267-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
880b0fe5c842bcf61c5812063ffca63326333b0b01f42060a8e6b85ed17551dd
|
|
BLAKE2b-256 checksum How to use checksums |
f00e05a00dc1cc313bd047a7704841b11a0708a7cbf0a66743bae669deada892
|
| 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
|