Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A pretty progressbar library

Project description


The progress bar library that started with the idea of looking pretty


Only works with python3.

pip3 install ppl

How to use

Simple usage

import time
from ppl import pb

for i in pb(range(100)):

Show task name along with the progress bar

import time
import random
from ppl import pb

total = 120
tasks = [
    'Make paintball', 'Find dragons', 'Code in python', 'Take out the trash',
    'Fill up water bottles for trip'
for task in tasks:
    i = 0
    for i in pb(range(total), task=task):
        sleep_time = [.05, .04, .03, .02, .01][random.randint(0, 4)]
        time.sleep(sleep_time)  # emulating long-playing task

Custom bar length

By default the bar length is the full width of the terminal window
import time
from ppl import pb

for i in pb(range(100), bar_len=20):

Project details

Download files

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

Files for ppl, version 0.4.5
Filename, size File type Python version Upload date Hashes
Filename, size ppl-0.4.5.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page