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

Uploaded Python 3

File details

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

File metadata

  • Download URL: awpr-0.0.198.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-1012-azure

File hashes

Hashes for awpr-0.0.198.tar.gz
Algorithm Hash digest
SHA256 081612af2f12d2d7ba88cc8b0fbb526bd05f4ee54befafa9f248f0f687671446
MD5 dd3b1d5d273bcecdb4f0861474bd6d2b
BLAKE2b-256 e79192079896dcb95766588b52faabb43839f966bd0ac09f851e5b722e40d5c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awpr-0.0.198-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-1012-azure

File hashes

Hashes for awpr-0.0.198-py3-none-any.whl
Algorithm Hash digest
SHA256 ed21c2535cf9ab92e3b738eac0b1866287eeac636cd9572c091765428c89984d
MD5 b06ba06b6fe276eb6639b3ff3ee26a78
BLAKE2b-256 44efb7d0a356fd29cd8948adc4ea8ca28f7b91fadf5e5dad52b6b9cf0e40039e

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