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.263.tar.gz (2.5 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.263-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: awpr-0.0.263.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.14.0-1017-azure

File hashes

Hashes for awpr-0.0.263.tar.gz
Algorithm Hash digest
SHA256 bcc412b09f9ceed5035322eee64062edf8cf86bd69da7c8a2821dbd796f65c36
MD5 459183bc796a53e91e7011fc46222f7d
BLAKE2b-256 7e92883a325f2c26599acac1e61db0943ab8f8cd21f4b0f54e1c4cf9da06095d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awpr-0.0.263-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.12.3 Linux/6.14.0-1017-azure

File hashes

Hashes for awpr-0.0.263-py3-none-any.whl
Algorithm Hash digest
SHA256 8e445e03338a6bc5cf1db51bb8047007055a93dd4462516232c23f948d6de025
MD5 f57f5d114e77ba60a72ab50c4a1f90c4
BLAKE2b-256 e41df82045ea8ece72816a23f47df3ad60e2436405dda9d47481edfbc2384829

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