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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: awpr-0.0.88.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.15.0-1024-azure

File hashes

Hashes for awpr-0.0.88.tar.gz
Algorithm Hash digest
SHA256 4610db0bfe3a423d4892d3855ef5676c6ee094f1abbe3b0cb58d7c56e833f0b1
MD5 7a84e62dd1e71b542580e62bfaeeea57
BLAKE2b-256 3c184d7d8f49f2555d111c32188ac5387080e3ce6b19699685a49c3acb051c05

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awpr-0.0.88-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.15.0-1024-azure

File hashes

Hashes for awpr-0.0.88-py3-none-any.whl
Algorithm Hash digest
SHA256 d43509e294c72a7c5b286399b07edf60eb8bc4a739b72fd9b48ae74d4379a608
MD5 c2c50e995776c0c86b543520ebf201fe
BLAKE2b-256 a69ea4930ee917d5cab06e5bde9cde0d4b438473500cf2155c60ddcfe3c4d40c

See more details on using hashes here.

Supported by

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