Skip to content
Enabling jupyter extensions for use in Binder
Jupyter Notebook
Branch: master
Clone or download
choldgraf Merge pull request #3 from fomightez/master
Change to reflect only one extension being demonstrated now
Latest commit 63bd1a3 Dec 4, 2019


Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE change to reflect only one extension being demonstrated now Dec 4, 2019
index.ipynb Add files via upload Sep 17, 2019
postBuild Update postBuild Sep 17, 2019
requirements.txt adding python-markdown Oct 26, 2017

Enabling Jupyter Extensions with post-build commands

Binder (Jupyter Notebook)

Binder (Jupyter Lab)

This example demonstrates how to enable Jupyter extensions with Binder.We currently only cover one example in this repo. Be aware that some are idiosyncratic in how they're enabled.

We accomplish each step using a requirements.txt file to install the extension, then a postBuild file to enable it.


Ipywidgets lets you create interactive widgets in your notebook. Installation is fairly straightforward. You install the python package, then enable the extension.

The postBuild file defines commands (one per line) to be run with bash. In this case, we first enable the ipywidgets extension in the classic notebook interface. We then use it to install a Jupyter Lab extension (by calling jupyter labextension) which allows ipywidgets to be displayed within notebooks.

You can’t perform that action at this time.