Skip to main content

Threaded progress bar for running functions

Project description

Give yourself something to watch while your long calls are made. Add the '@progress' decorator to your functions, thats it!

from prygress import progress
from time import sleep

@progress
def wait_with_me():
sleep(10)

wait_with_me()
................................................ finished.

To customize your bar, just add one or all of these params to the decorator:

@progress(char='.', pause=0.2)


Full documentation available at https://github.com/dboudwin/prygress

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prygress-0.2.tar.gz (1.2 kB view details)

Uploaded Source

File details

Details for the file prygress-0.2.tar.gz.

File metadata

  • Download URL: prygress-0.2.tar.gz
  • Upload date:
  • Size: 1.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for prygress-0.2.tar.gz
Algorithm Hash digest
SHA256 eabbebe5483c65197e929ca2cd871565887fc5d58e75c3ff60c1a9aa18e4e6c4
MD5 a31bb47830b6ec0c091dfe1b33bd4c5f
BLAKE2b-256 5012ce2c15f40fb6e9cc4181a4f8a5ef05ef36f8c6a66d91cf8a59908d42b3de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page