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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: awpr-0.0.224.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for awpr-0.0.224.tar.gz
Algorithm Hash digest
SHA256 077ed2cb02d0bc858b1d6cbeecabe82fe4785cb591cb2d45f956448ef5a6b01e
MD5 606867ce554b15b813fb7fd93726083a
BLAKE2b-256 c560181939b482abcf51da53c179a25a8c6486d39e30acf9a51ff014eec24bf0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awpr-0.0.224-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for awpr-0.0.224-py3-none-any.whl
Algorithm Hash digest
SHA256 0f0467ad52f262657727bdf453047c7e4dd4b3dd6eeff98e031cd0eaebbb069e
MD5 f2163a1fd499525be5852e8310aad0fa
BLAKE2b-256 1179c808454a9c40453bb28eec489e1921b952df68855b2ec3ec0bb10228df01

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