Skip to main content

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.

Source Distribution

nbprogress-0.1.3.tar.gz (2.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page