Skip to main content

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.220.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

awpr-0.0.220-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file awpr-0.0.220.tar.gz.

File metadata

  • Download URL: awpr-0.0.220.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

Hashes for awpr-0.0.220.tar.gz
Algorithm Hash digest
SHA256 6fd10172703ec392d02de2192cf904191bd97e3991900ba899f189637378bb55
MD5 8a61a8442ce5bff8928c98d515c7d1bc
BLAKE2b-256 f387357bda11f8820e7169059a1cc2829d381ba9dfbbe8982dacd40ddc35dd0e

See more details on using hashes here.

File details

Details for the file awpr-0.0.220-py3-none-any.whl.

File metadata

  • Download URL: awpr-0.0.220-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

Hashes for awpr-0.0.220-py3-none-any.whl
Algorithm Hash digest
SHA256 035fff8cec359b8b24396bcef4f8e59537bee2fc7263757424b4011940af1667
MD5 034b14b221f94de1c1e0788fd8123826
BLAKE2b-256 fa9f229a32dfbc0a89fc61b96ceb34da240d02319ff2c3c7f515ec290f6c919a

See more details on using hashes here.

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