Publishing Jupyter Notebook
Let’s explore the different ways to publish a JupyterLab notebook.
You completed the hard work exploring the datasets, validating and testing your model. Now is the time to publish and showcase the results.
In this article, let’s explore the different ways to publish a JupyterLab notebook.
Let’s get started by exploring the built-in features.
Use this option if you want to quickly publish the notebook in different formats easily.
JupyterLab has the ability to export notebooks to different formats using the user interface.
- ReStructured Text
- Executable Script
- Reveal.js Slides
- Select the cells to export.
- Use the
Property Inspectorto set the slide type and any other properties.
- From the
Filemenu, export the notebook to the desired format. In my case, I choose
E.g. I can export the notebook to PDF.
jupyter nbconvert mynotebook.ipynb --to pdf
Use this option if you want to publish your notebook as a web application.
Voilà transforms a Jupyter Notebook into a stand-alone web application you can share. It gives you control over what your…