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.

Files for prygress, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size prygress-0.2.tar.gz (1.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page