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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: awpr-0.0.222.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.222.tar.gz
Algorithm Hash digest
SHA256 91d66d26a86647be85924e37109b7241ff56f080e7cb86831073f17aff8e204d
MD5 3ad13d140e3a9fc2e800b39e8615fd1c
BLAKE2b-256 99a3108fbe47c3f51f58849ee17ec68372b95e4495ffd16de7c961e5934927b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awpr-0.0.222-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.222-py3-none-any.whl
Algorithm Hash digest
SHA256 6364460ca5a59f542e1d4cf25a8b3433c2925ceabeaf08dff6101a5da440eb69
MD5 bb175152171ccb50e0a8cac0ef7b0bd8
BLAKE2b-256 185120e3ace5a3cdf55e2059d22fe36818382cf599f069361a7453e0cace8ed0

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