Skip to main content
https://i.imgur.com/UGgcdf1.gif

PRETTY PROGRESSBAR LIBRARY

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

Installation

Only works with python3.

pip3 install ppl

How to use

Simple usage

import time
from ppl import pb

for i in pb(range(100)):
    time.sleep(0.1)

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):
    time.sleep(0.1)

Metadata

Release files for ppl 0.4.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ppl 0.4.5
File Size Uploaded Provenance
ppl-0.4.5.tar.gz 3.3 kB Without provenance Details

Release files / ppl-0.4.5.tar.gz

Download URL ppl-0.4.5.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
993f141d51e0d3b213c49685842f5ffbf7bbec2740721438a739d77aa4a499c6
BLAKE2b-256 checksum
How to use checksums
99cd6f566ce4f650996e17fe66f5fb42cfd7fa3964bf011198deea9c2977638a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Security for ppl 0.4.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page