Top 5 Best Jupyter Notebook Extensions

Notebook extensions are plug-ins that you can easily add to your Jupyter notebooks. The best way to install them is to use Jupyter NbExtensions Configurator. It will add a tab to let you enable/disable extensions:

Screenshot of NbExtensions Configurator

Screenshot of NbExtensions Configurator


Installation with conda:

conda install -c conda-forge jupyter_contrib_nbextensions
conda install -c conda-forge jupyter_nbextensions_configurator

Or with pip:

pip install jupyter_nbextensions_configurator jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextensions_configurator enable --user

Find more info about installation here

1 - Collapsible headings

Very useful when dealing with large notebooks, collapsible headings allow you to collapse some parts of the notebooks.

Using collapsible headings

Using collapsible headings

2 - Notify

For long running task, the notify extension sends a notification when the notebook becomes idle.

Using notify

Using notify

To use it, enable the extension and then enable it in the button bar. The number you select is the minimum time the notebook has to run for you to get a notification (Note that you have to keep the notebook open in the browser for the notification to work)

3 - Code folding

Using code folding

Using code folding

4 - tqdm_notebook

This one is not really an notebook extension. TQDM is a progress bar library. But it sometimes fails to work properly on Jupyter Notebooks. Thanks to Randy Olson for the tip:

5 - %debug

Not a notebook extension but an IPython magic command. For a great explanation, I suggest reading the full twitter thread from Radek Osmulski

6 - Smaller extensions and other tips

You know a must-have notebook extension ? Hit me on twitter or make a pull request on this blog post !

Edit on Wed, Mar 7, 2018:

Some people on Reddit suggested a few more: