Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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 hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page