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

Uploaded Python 3

File details

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

File metadata

  • Download URL: awpr-0.0.265.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.17.0-1008-azure

File hashes

Hashes for awpr-0.0.265.tar.gz
Algorithm Hash digest
SHA256 45025a7115b1f06fed993cde712cb82884e013eb914dcb03cb63af75eace8634
MD5 8412fadf5a48daff815fe8977821e959
BLAKE2b-256 7ed750908a9c2c05736d73047d20adbbbbfe8856f046a59213fc620146f2212a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awpr-0.0.265-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.17.0-1008-azure

File hashes

Hashes for awpr-0.0.265-py3-none-any.whl
Algorithm Hash digest
SHA256 c23f5073960767038bd9edcbd34f98664bbce69791721c4934a929213f835df8
MD5 2701f2e804e2c4f575191700d9198760
BLAKE2b-256 e52eb74d94fb078fd1cfcf65f43ff93a4562fcecc882070f5581f02b9c0bc066

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