Jupyter Tidbit: Launch Notebook on Binder without leaving your browser
August 23, 2018
This post originates from a gist that supports comments, forks, and execution in binder.
Summary
You can launch a temporary Jupyter Notebook server in the cloud with any pip or conda packaged libraries preinstalled using the GitHub Gist and Binder web UIs.
- Visit https://gist.github.com/.
- Click New Gist in the top right
- Enter
requirements.txt
as the filename (orenvironment.yaml
if you prefer conda). - Add libraries you wish to use in your notebook server (e.g.,
pandas
,altair
). - Click Create Public Gist.
- Visit https://mybinder.org/.
- Select Gist from the dropdown.
- Enter your gist
username/gistid
. - Click Launch.
Example
When I add the requirements.txt
file below to a new gist, enter parente/3675d82eae802db2c011037033d614a5
into the binder web UI, and click the launch, here's the result:
requirements.txt
altair
pandas
vega_datasets
Contact
GitHub
LinkedIn
RSS