Skip to Content


Jupyter: A Jupyter Notebook and a platform for Live Code in Open Textbooks


Jupyter is an open-source platform for documents that combine live code, equations, visualizations and narrative text. Its notebooks are widely used in data science, scientific research and teaching because readers can run and change the code as they read.

LibreTexts runs its own Jupyter Hub which students can log in through direct links or from clicking on the Jupyter card on the launchpad. Additionally, live notebooks can be embedded directly in LibreTexts pages to allow for engaging interactivity with live code and plotting. This turns a static textbook page into a hands-on lab where students can tweak code variables and numbers and see the results right away.

Open the LibreTexts Jupyter Hub at jupyter.libretexts.org. Check out the Construction Guide on the Binder to learn more about embedding code in your textbooks. 

What you can do with Jupyter

  • Write and run notebooks in Python, R, Julia, Octave, SageMath and C++.
  • Embed live code in your LibreTexts pages so students can run examples without installing anything.
  • Bring in your own data by attaching data files to your code blocks.

Where to find more help

This course gives you quick tours. For the full details, these LibreTexts resources are kept up to date by our team:

Take a look: Jupyter

Here's the Construction Guide's overview of Jupyter. It updates automatically whenever the guide does.

A quick introduction to Jupyter at LibreTexts, live code notebooks you can run and embed in open textbooks.

Commenting is not enabled on this course.