A lightweigth progressbar for jupyter notebook
Project description
nbprogress
Progressbar for Jupyter notebooks packaged as a pip package. (ref: https://github.com/kuk/log-progress)
Important to enable enable ipythonwidgets by running
jupyter nbextension enable --py widgetsnbextension
for jupyterlab
jupyter labextension install @jupyter-widgets/jupyterlab-manager
Use:
pip install nbprogress
import time
import nbprogress
for i in nbprogress.log(range(1,10), every=1):
time.sleep(1)
import os
import glob
import time
import nbprogress
input_dir = os.getcwd()
files = glob.glob(os.path.join(input_dir, '*'))
for file in nbprogress.log(enumerate(files), every=1, size=len(files)):
time.sleep(1)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nbprogress-0.1.4.tar.gz
(2.1 kB
view hashes)