Command Line Progress Bars
Project description
cmdprogress
Python Command Line Progress Bars
Contents
Installation
Use pip
via PyPi
pip install cmdprogress
Or use git
git clone git://github.com/luciancooper/cmdprogress.git cmdprogress
cd cmdprogress
python setup.py install
Usage
There are a couple of ways to use a python multibar.
from cmdprogress.multi import MultiBar
bar = MultiBar(lvl=2)
for i in bar.iter(range(5)):
for j in bar.iter(range(10)):
# do some work
pass
from cmdprogress.multi import MultiBar
bar = MultiBar(5,lvl=2)
for x in range(5):
for i in bar.iter(range(10)):
# do some work
pass
from cmdprogress.multi import MultiBar
bar = MultiBar(5,10)
for x in bar:
# x will be the tuple (i,j)
# do some work
pass
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
cmdprogress-1.1.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for cmdprogress-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e54a3cb0d36e18b2a7464f8438bf9fccaba91cb81d68a1c03416fcc025f5ae0 |
|
MD5 | ead7412fb7650f9c63b4e2ad9c3f22f1 |
|
BLAKE2b-256 | 1290da294bbceee1fc1bd4ed4d60184d91cdea15b2bd902d1a392e45f9b6ac0e |