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.4.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file nbprogress-0.1.4.tar.gz.

File metadata

  • Download URL: nbprogress-0.1.4.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for nbprogress-0.1.4.tar.gz
Algorithm Hash digest
SHA256 2b2f70fb4ac6b82d9d8eca710aca3175ea3c5db3b37278aa447759a32068b6a4
MD5 a88e19aa0269c1935065d7fc84a467bf
BLAKE2b-256 ab388c1dc38ae15ac84143e49a29db8541b06891c025d81346702e311aa66373

See more details on using hashes here.

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