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

Uploaded Python 3

File details

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

File metadata

  • Download URL: awpr-0.0.264.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.264.tar.gz
Algorithm Hash digest
SHA256 9f94c4de29e834df54209223667bf17f1a1c976b52ba6bcd43be624d97436fab
MD5 46549a78ee6eb307c3aeddabac2d5bdf
BLAKE2b-256 173b3a37a21f3c460d13089f7d7025671afa6f9913c013dbacd8cda97597f46f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awpr-0.0.264-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.264-py3-none-any.whl
Algorithm Hash digest
SHA256 6d0a16ab66bb697ea9230cbb57d1d4a2cb71393d31faf9c119acd98078672dd4
MD5 6be6a357392a4e509358fb7d6538b429
BLAKE2b-256 686f9a0a1b7d0e237728baaacc0b8c6f4874463d534cfe15ca35b29a7071e905

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