Jupyter
Also known as: Project Jupyter, Jupyter Notebook, JupyterLab
Open-source project for interactive computing whose notebooks combine live code, results, equations and narrative text in one document.
Project Jupyter develops open-source tools for interactive computing, best known for the Jupyter Notebook: a document that mixes executable code cells with their outputs, such as tables, charts and images, alongside narrative text written in Markdown and mathematical equations. Notebooks run code through kernels, separate processes that support dozens of languages; the name refers to Julia, Python and R. Notebooks are stored as JSON files with the .ipynb extension and can be shared, rendered on the web or converted to other formats.
Jupyter grew out of IPython, an enhanced interactive Python shell created by Fernando Perez in 2001. In 2014 Perez, Brian Granger and colleagues spun off the language-independent parts as Project Jupyter. JupyterLab, a more flexible web-based environment, followed; JupyterHub serves notebooks to many users in classrooms, research groups and companies. The project is released under a BSD license and is fiscally sponsored by NumFOCUS. Jupyter received the ACM Software System Award in 2017.
Notebooks became a standard medium for data science, machine learning experiments, teaching and reproducible research, echoing Donald Knuth's idea of literate programming, in which explanation and code live together. Hosted services such as Google Colab are built on the format. Notebooks also have known pitfalls: cells can be run out of order, leaving hidden state that makes results hard to reproduce, and they can be awkward to review in version control. Good practice includes restarting and rerunning notebooks from top to bottom before sharing results.
Key points
- Jupyter notebooks combine executable code, outputs and narrative text in one document.
- Project Jupyter was spun off from IPython in 2014.
- Kernels let notebooks run code in dozens of programming languages.
- Running cells out of order can create hidden state that undermines reproducibility.
Related entries
Python
High-level, general-purpose programming language created by Guido van Rossum, known for readable syntax and widely used in data science and AI.
Literate Programming
Programming methodology, introduced by Donald Knuth, in which programs are written as explanatory documents for people with the code embedded in them.
Markdown
Lightweight markup language that uses plain-text conventions such as asterisks and pound signs to format text that converts easily to HTML.
JSON
Lightweight, text-based data interchange format that represents structured data as nested objects and arrays, derived from JavaScript syntax.
Machine Learning
Branch of artificial intelligence in which computer systems improve at tasks by learning patterns from data rather than following explicitly programmed rules.
PyTorch
Open-source machine learning framework combining GPU-accelerated tensors with automatic differentiation, widely used for deep learning research.
Open Data
Data that anyone can freely access, use, modify and share for any purpose, subject at most to requirements that preserve provenance and openness.
Citizen Science
Scientific research conducted with the participation of members of the public, who collect, classify or analyze data alongside professionals.
Featured in guides
Referenced by
Other entries that discuss or point to Jupyter.