Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

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)

gifs/nbprogress1.gif

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)

gifs/nbprogress12.gif

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nbprogress, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size nbprogress-0.1.4.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page