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

Uploaded Python 3

File details

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

File metadata

  • Download URL: awpr-0.0.158.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.0-1040-azure

File hashes

Hashes for awpr-0.0.158.tar.gz
Algorithm Hash digest
SHA256 6250eadfe61a63ffe71419fbe2f37085cfaf44cac792b2691215fab67008370a
MD5 daaa4687fe78e05bf5771f06480de515
BLAKE2b-256 2d7ed82f4852cbd8a50220431fc2a0c8615be542be43f10f54df069d41923922

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for awpr-0.0.158-py3-none-any.whl
Algorithm Hash digest
SHA256 2a1cc446c834f7307e71d124008fe6abaa17a0f6fd71a7a68bd4813f2b64fc2e
MD5 917c2edcc5bdc79bf6db89dcb906013d
BLAKE2b-256 c0653ce39a3b18a589c0d8a2ebcc38237f956b082e78a50caf42eb550ce155f3

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