Library that helps an application report progress to Argo Workflows.
Project description
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()
Project details
Release history Release notifications | RSS feed
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.221.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file awpr-0.0.221.tar.gz
.
File metadata
- Download URL: awpr-0.0.221.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e57673f3e36cd9533fbde0b8058b13e61ee2a82ac3aaa9282105f883451b4b7b |
|
MD5 | dd1777cfecf8924d19cf29363fe4827b |
|
BLAKE2b-256 | a3bf4c135c73462a22946ade74b61e1a34ce5e7ac9a7ec16331d7b50d4c086b1 |
File details
Details for the file awpr-0.0.221-py3-none-any.whl
.
File metadata
- Download URL: awpr-0.0.221-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.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6efe152d4fbcbe533073a485963d16814fc3592bcd83de6f15de3060a6182db |
|
MD5 | b87acb4269927f398a13522eb8cda4d3 |
|
BLAKE2b-256 | 7e53ba146b786112a46ada14b18c1e19e31095797a24e64b6bdc6083821cb9d8 |