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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: awpr-0.0.223.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.223.tar.gz
Algorithm Hash digest
SHA256 944f7e522adcd0c88ba1d14c49a5342b47e8194264d89ab0d25dd2ec92a24808
MD5 d6465dd21d7ba2e5c02fd6164a1d71b0
BLAKE2b-256 52e59d098f6c90ec59e38812c6c17ca5e1d2f104834e4d7793b9a51ce140e835

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awpr-0.0.223-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.223-py3-none-any.whl
Algorithm Hash digest
SHA256 64cf7bf4309a187d9c53176ece5ef4b3bfacc5dc74a5781c7c4f2a5df52c635a
MD5 0d1032d70a73c2bffcbc33955a9fbd7d
BLAKE2b-256 116407c5b751ae58e98e5134b841dba3872ace9b1469368a8c3a87b97bf49863

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