Terminal progress bar compatible with multi-threading
Built by Guillaume Schworer. Licensed under the GNU General Public License v3 or later (GPLv3+) license (see LICENSE).
Installation
Just run
pip install patiencebar
to get the most recent stable version.
Usage
The main entry points are the patiencebar.Patiencebar and patiencebar.Patiencebarmulti classes. You’ll just use it like this:
import patiencebar as PB
n_calc = 34
pb = PB.Patiencebar(valmax=n_calc, barsize=50, title="Test bar")
for i in range(n_calc):
dostuff()
pb.update()
More usage details, see example.py)
Documentation
All the options are documented in the docstrings for the Patiencebar and Patiencebarmulti classes. These can be viewed in a Python shell using:
import patiencebar as PB print(PB.Patiencebar.__doc__) print(PB.Patiencebarmulti.__doc__)
or, in IPython using:
import patiencebar as PB PB.Patiencebar? PB.Patiencebarmulti?
License
Copyright 2016 Guillaume Schworer
patiencebar is free software made available under the GNU General Public License v3 or later (GPLv3+) license (see LICENSE).
Changelog
1.0.0 (2016-05-03)
Initial release.
Release files for patiencebar 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| patiencebar-1.0.4.tar.gz | 5.7 kB | Details |
Release files / patiencebar-1.0.4.tar.gz
| Download URL | patiencebar-1.0.4.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c668d6aedf66992a764f07361ff0bdb9c81a949660e321d94da7a226a0be37b
|
|
BLAKE2b-256 checksum How to use checksums |
d5ce23465a1460149677e90e763bd72a2374b8f6be6a08a6f00058dd01d3597f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |