Introduction
ipy-progressbar allows to use the same code for rich progressbars in IPython Notebooks, and for simple fallback ones in terminal sessions.
Example
Code like this:
from ipy_progressbar import ProgressBar
pb = ProgressBar(10, title='Outer')
pb_inner = ProgressBar(5, title='Inner')
for i in pb:)
for j in pb_inner:
# inner loop body
will work both in IPython Notebook and in plain console. When run in notebook, the output will be rich (Bootstrap progress bars), while console version is mainly thought of as a fallback.
For more examples see example.py and example.ipynb.
Release files for ipy-progressbar 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ipy-progressbar-1.3.tar.gz | 3.4 kB | Details |
Release files / ipy-progressbar-1.3.tar.gz
| Download URL | ipy-progressbar-1.3.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80f2dba74e56b90a4a1f9706593d3a32af228edc75a4b981c8f685623f5cea5d
|
|
BLAKE2b-256 checksum How to use checksums |
0a7d3181faf17e2afb79a91d77649b49f1d0c3f197c1b98904cc600a9aed0bce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |