Library that helps an application report progress to Argo Workflows.
Project description
fsai-awrp
Library that helps an application report progress to Argo Workflows.
Installation
pip install fsai-awrp
Usage
Set the environment variable and run your application:
ARGO_PROGRESS_FILE=/tmp/progress.txt
from fsai_awrp.fsai_awrp import ArgoWorkflowsReportProgress
awrp = ArgoWorkflowsReportProgress()
awrp.set_total_progress(100)
awrp.start_reporting()
awrp.set_current_progress(20)
awrp.set_current_progress(30)
awrp.get_progress_percent()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fsai-awrp-0.1.3.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for fsai_awrp-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 733ce5bbed12e8585705bde465b65ffdda364034cf85a4d114d9c518363d63c0 |
|
MD5 | a4df51238af6a6eb4f75d42cca095b56 |
|
BLAKE2b-256 | 051c1d5c70c5d6a58801db3d157830775cdbc76f4d460aac9fbad56a920c7561 |