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.54.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.54-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: awpr-0.0.54.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.10 Linux/5.15.0-1019-azure

File hashes

Hashes for awpr-0.0.54.tar.gz
Algorithm Hash digest
SHA256 61e03b53bf84c8fac9254c1158689b75fde0e7399e11fb8911ba9fd5df5f6176
MD5 f798eeb24148c5ce19f9cb20c7c58c8c
BLAKE2b-256 e491242ca4212193e25676fe0c494da09ef83435825c007c713ceeb54f9c31a1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for awpr-0.0.54-py3-none-any.whl
Algorithm Hash digest
SHA256 22509b9bfc03c1902abfed9b9dc9371df37cb7088e6e6c75153ecb7989b81b59
MD5 6a964bfb972eabd5a9e5acd85f8df242
BLAKE2b-256 59d4ebacb8f70afbf22a5b7e7ae590f6a5b6009ce99f4522751cca5ea1972734

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