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()
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
awpr-0.0.265.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awpr-0.0.265.tar.gz.
File metadata
- Download URL: awpr-0.0.265.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/1.8.3 CPython/3.12.3 Linux/6.17.0-1008-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45025a7115b1f06fed993cde712cb82884e013eb914dcb03cb63af75eace8634
|
|
| MD5 |
8412fadf5a48daff815fe8977821e959
|
|
| BLAKE2b-256 |
7ed750908a9c2c05736d73047d20adbbbbfe8856f046a59213fc620146f2212a
|
File details
Details for the file awpr-0.0.265-py3-none-any.whl.
File metadata
- Download URL: awpr-0.0.265-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/1.8.3 CPython/3.12.3 Linux/6.17.0-1008-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c23f5073960767038bd9edcbd34f98664bbce69791721c4934a929213f835df8
|
|
| MD5 |
2701f2e804e2c4f575191700d9198760
|
|
| BLAKE2b-256 |
e52eb74d94fb078fd1cfcf65f43ff93a4562fcecc882070f5581f02b9c0bc066
|