-
Notifications
You must be signed in to change notification settings - Fork 2
Guidelines for sharing Jupyter notebooks
Jupyter notebooks are a way of sharing code with inline documentation. These are guidelines for how to share Jupyter notebooks as supporting information for papers.
A Jupyter notebook is a JSON format which is not human-readable without having Python and Jupyter installed. So two versions of the notebook should be made available:
- The original, executable notebook (
.ipynb
file) - A human readable version of the notebook (PDF or HTML)
The human readable version could be exported from Jupyter and saved as a static file. Services such as nbviewer can also be used.
Example in a published article: link to notebook on nbviewer in footnote #2: article | on nbviewer
- Zenodo can archive code from GitHub automatically and give you a DOI. Backed by CERN.
myBinder lets you run Jupyter notebooks stored in a GitHub repository online in the browser without having to install anything.
Example: floWeaver has a link to the quickstart tutorial on the front page, letting you quickly have a go and try the project.
This isn't directly from a paper but you could do the same thing there by including a link in the paper.