Skip to main content

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)

Uploaded Source

Built Distribution

fsai_awrp-0.1.3-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page