# Jupyter 项目

**Jupyter 项目**（Project Jupyter）是一个非营利性的开源项目，致力于为计算笔记本的交互式计算构建工具与标准；它源自 IPython 项目，2014 年该项目扩展为支持所有编程语言中的交互式数据科学与科学计算。<sup>[1](https://jupyter.org/about)</sup> 其最知名的产品是 [Jupyter Notebook](https://www.edgepedia.org/zh/jupyter-notebook) 和 JupyterLab 两款笔记本编辑应用，项目名称由其最初支持的三种语言的首字母组合而成：Julia（ju）、Python（pyt）和 R（r）。<sup>[2](https://docs.jupyter.org/en/stable/what_is_jupyter.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 2014 年从 IPython 项目创建；在 SciPy 2014 会议上宣布<sup>[1](https://jupyter.org/about)</sup><sup> • </sup><sup>[3](https://blog.jupyter.org/posts/2015/the-big-split/)</sup> |
| 名称 | 来自 Julia、Python 和 R，即项目最初支持的语言<sup>[2](https://docs.jupyter.org/en/stable/what_is_jupyter.html)</sup> |
| 许可证 | 采用修改版 BSD 许可证的 100% 开源软件<sup>[1](https://jupyter.org/about)</sup> |
| 内核 | 超过 100 个由社区创建的、面向不同语言的 Jupyter 内核<sup>[4](https://blog.jupyter.org/posts/2018/jupyter-receives-the-acm-software-system-award/)</sup> |
| 采用情况 | 截至 2023 年 5 月，超过 100 万个 GitHub 公共仓库包含一个或多个 Jupyter Notebook<sup>[5](https://www.annualreviews.org/docserver/fulltext/control/7/1/annurev-control-061323-095841.pdf?accname=guest&checksum=6A22ECA77B64E5E721CCC02155B61287&expires=1776276801&id=id)</sup> |
| 奖项 | 2018 年 ACM 软件系统奖，由截至 2016 年 11 月的十五名 Jupyter 指导委员会成员共同获得<sup>[4](https://blog.jupyter.org/posts/2018/jupyter-receives-the-acm-software-system-award/)</sup> |
| 治理 | 执行委员会、软件指导委员会、各子项目，以及 Jupyter 基金会——Linux 基金会旗下的定向基金<sup>[1](https://jupyter.org/about)</sup><sup> • </sup><sup>[6](https://jupyterfoundation.org/about/)</sup> |

## 历史

项目的根源可追溯至 2001 年，当时还是研究生的费尔南多·佩雷斯（Fernando Pérez）发布了他的开源项目 IPython，为 Python 提供交互式计算工具，着重服务于科学家的探索式工作流程：运行代码、查看结果、决定下一步。<sup>[4](https://blog.jupyter.org/posts/2018/jupyter-receives-the-acm-software-system-award/)</sup> 2011 年，在构建了 Qt 控制台和若干笔记本原型之后，团队发布了 IPython Notebook 的第一个版本。<sup>[4](https://blog.jupyter.org/posts/2018/jupyter-receives-the-acm-software-system-award/)</sup>

**大分裂。** 到 IPython 3.0 时，项目已包含交互式 shell、REPL 协议、笔记本文档格式与转换工具、基于网页的笔记本编写工具、小部件工具，以及交互式并行 Python。由于笔记本和协议等组件并非 Python 专属，开发者们得出结论：它们不再属于一个名为“交互式 Python”的项目。<sup>[3](https://blog.jupyter.org/posts/2015/the-big-split/)</sup> 在 SciPy 2014 上宣布的 Jupyter 项目成为这些语言无关组件的新家；这次拆分在 IPython 4.0 中落实，将各组件分发为独立的包，如 notebook、nbconvert、nbformat、ipykernel 和 jupyter_client。<sup>[3](https://blog.jupyter.org/posts/2015/the-big-split/)</sup> IPython 本身仍是 JupyterLab 和 Jupyter Notebook 默认捆绑的 Python 内核。<sup>[2](https://docs.jupyter.org/en/stable/what_is_jupyter.html)</sup>

## Jupyter 提供什么

“Jupyter”是一个涵盖众多工具的统称，项目核心是计算笔记本——一种结合了计算机代码、说明文字、图像和程序输出的文档。笔记本文件使用 `.ipynb` 格式，这是一种 JSON 文档，保存单元格、输出和元数据，由 nbformat 库解析。<sup>[2](https://docs.jupyter.org/en/stable/what_is_jupyter.html)</sup>

**内核。** 笔记本编辑器为每个打开的笔记本创建一个 REPL（读取-求值-打印循环），语言由用户选择；在 Jupyter 生态系统中，每个这样的进程称为一个内核。内核在一个长期运行的程序中保存笔记本代码创建的数据和对象，这就是变量能跨单元格存活的原因；关闭管理内核的 Jupyter 服务器就会丢失它们。<sup>[2](https://docs.jupyter.org/en/stable/what_is_jupyter.html)</sup> 前端与内核通过一种有文档记录的消息传递协议通信，每条消息携带头部、父头部、元数据、内容和可选的二进制缓冲区；内核必须实现 execute 和 kernel info 消息，以及 busy 和 idle 状态消息。<sup>[7](https://jupyter-client.readthedocs.io/en/latest/messaging.html)</sup>

**编辑程序。** Jupyter Notebook 提供简化、轻量的编写体验，而 JupyterLab 提供可定制的标签式环境，可并排处理多个笔记本、文本编辑器、终端和自定义组件。<sup>[2](https://docs.jupyter.org/en/stable/what_is_jupyter.html)</sup><sup> • </sup><sup>[8](https://jupyterlab.readthedocs.io/en/stable/getting_started/overview.html)</sup> JupyterLab 是一个基于网页的界面，其扩展可以定制它的任何部分，并支持由内核支持的文档，让 Markdown、Python、R 或 LaTeX 文件中的代码可在任意 Jupyter 内核中交互运行。<sup>[8](https://jupyterlab.readthedocs.io/en/stable/getting_started/overview.html)</sup> 自 2023 年发布的 JupyterLab 4 和 Jupyter Notebook 7 起，Notebook 7 构建于 JupyterLab 组件之上，新增实时协作、交互式调试和主题功能；Notebook 7 旨在最终取代经典版 Notebook。<sup>[9](https://blog.jupyter.org/announcing-jupyter-notebook-7-8d6d66126dcf/?gi=91803318295b)</sup><sup> • </sup><sup>[8](https://jupyterlab.readthedocs.io/en/stable/getting_started/overview.html)</sup>

**多用户部署。** JupyterHub 为成组的用户提供笔记本服务，在管理员管理的共享资源上为每个人提供隔离的编辑器和环境。它可运行在云端或本地硬件上，支持 OAuth 和 GitHub 等可插拔认证，对容器友好，可运行在 [Kubernetes](https://www.edgepedia.org/zh/kubernetes) 上，并能扩展到数万名用户。目前有两个精选发行版：面向 Kubernetes 的 Zero to JupyterHub 和面向单台虚拟机的 The Littlest JupyterHub。<sup>[10](https://jupyter.org/hub)</sup>

## 治理与资助

Jupyter 在 GitHub 上通过社区共识公开开发，所有项目互动均受行为准则约束。<sup>[1](https://jupyter.org/about)</sup> 执行委员会对项目的所有维度负最终责任，并授权软件指导委员会，后者对跨子项目的软件相关决策拥有管辖权；子项目在日常技术决策上保留自主权。<sup>[1](https://jupyter.org/about)</sup> 2022 年 12 月之前，项目采用基于 BDFL（终身仁慈独裁者）和指导委员会的治理模式，并隶属于 501c3 性质的 NumFOCUS 基金会。<sup>[11](https://jupyter.org/governance/archive/governance/)</sup> Jupyter 基金会作为 Linux 基金会的定向基金设立，让各组织能够资助安全、无障碍、发布管理和文档等领域；加入基金会并不会获得对项目技术决策的影响力。<sup>[6](https://jupyterfoundation.org/about/)</sup>

## 在科学与可复现性中的应用

计算笔记本在研究领域流行起来，是因为科学家需要执行并交流计算；有记录的应用包括处理詹姆斯·韦布空间望远镜数据、根据望远镜数据生成黑洞图像，以及根据天文台数据计算引力波的存在。<sup>[2](https://docs.jupyter.org/en/stable/what_is_jupyter.html)</sup>

可复现性是笔记本的一大承诺，但在实践中已被证明困难重重。皮门特尔（Pimentel）及其同事分析 GitHub 上超过 140 万个 Jupyter 笔记本的研究发现，在简单条件下只有 25% 的有效笔记本无错误执行，只有 5% 复现出与原始输出完全相同的结果。<sup>[12](https://leo-lihao.github.io/files/J6.pdf)</sup> 一项针对生物医学出版物相关笔记本的研究检查了来自 1,117 个 GitHub 仓库的 9,625 个笔记本，这些仓库与 [PubMed Central](https://www.edgepedia.org/zh/pubmed-central) 中的 1,419 篇出版物相关联；在 2,684 个所声明依赖项均可安装并重新运行的笔记本中，396 个运行无错误，245 个产生与原始结果相同的输出。<sup>[13](https://arxiv.org/abs/2209.04308)</sup> 反复出现的问题包括单元格执行顺序错乱、重新执行或删除单元格留下的隐藏状态，以及未声明所导入库版本的笔记本；研究人员估计 GitHub 上约 36% 的笔记本不按线性顺序执行。<sup>[12](https://leo-lihao.github.io/files/J6.pdf)</sup> 后续工作表明情况没有早期估计那么悲观：一项分析 42,546 个笔记本的研究发现，只有约 21% 真正无法恢复，通过安装缺失依赖可将可执行性提高 43%。<sup>[12](https://leo-lihao.github.io/files/J6.pdf)</sup>

## 认可与当前活动

2018 年，Jupyter 获得 ACM 软件系统奖，正式授予截至 2016 年 11 月的十五名指导委员会成员，这是该奖项当时历史上规模最大的获奖团队；获奖者包括费尔南多·佩雷斯、布莱恩·格兰杰（Brian Granger）、闵·拉根-凯利（Min Ragan-Kelley）、保罗·伊万诺夫（Paul Ivanov）、托马斯·克吕弗（Thomas Kluyver）、杰森·格劳特（Jason Grout）、马蒂亚斯·比松尼耶（Matthias Bussonnier）、达米安·阿维拉（Damián Avila）、史蒂文·西尔维斯特（Steven Silvester）、乔纳森·弗雷德里克（Jonathan Frederic）、凯尔·凯利（Kyle Kelley）、杰西卡·哈姆里克（Jessica Hamrick）、卡罗尔·威林（Carol Willing）、西尔万·科莱（Sylvain Corlay）和彼得·帕伦特（Peter Parente）。<sup>[4](https://blog.jupyter.org/posts/2018/jupyter-receives-the-acm-software-system-award/)</sup> 开发依然活跃：JupyterLab 4.1 和 Notebook 7.1 于 2024 年 2 月发布，带来 6 项新功能、39 项增强和 114 个错误修复，来自 70 位贡献者，<sup>[14](https://blog.jupyter.org/posts/2024/jupyterlab-4-1-and-notebook-7-1-are-here/)</sup> 项目博客记录着持续的版本发布、社区研讨会，以及与 Jupyter 基金会共同运营的社区资助计划。<sup>[15](https://blog.jupyter.org/archives/)</sup>

## References

1. [Project Jupyter | About Us](https://jupyter.org/about)
2. [What is Jupyter? — Jupyter Documentation](https://docs.jupyter.org/en/stable/what_is_jupyter.html)
3. [The Big Split™ · Jupyter Blog (Min RK, April 16, 2015)](https://blog.jupyter.org/posts/2015/the-big-split/)
4. [Jupyter receives the ACM Software System Award · Jupyter Blog](https://blog.jupyter.org/posts/2018/jupyter-receives-the-acm-software-system-award/)
5. [PROJECT JUPYTER, Annual Review of Control, Robotics, and Autonomous Systems](https://www.annualreviews.org/docserver/fulltext/control/7/1/annurev-control-061323-095841.pdf?accname=guest&checksum=6A22ECA77B64E5E721CCC02155B61287&expires=1776276801&id=id)
6. [About Jupyter Foundation](https://jupyterfoundation.org/about/)
7. [Messaging in Jupyter — jupyter_client documentation](https://jupyter-client.readthedocs.io/en/latest/messaging.html)
8. [Get Started — JupyterLab documentation](https://jupyterlab.readthedocs.io/en/stable/getting_started/overview.html)
9. [Announcing Jupyter Notebook 7 · Jupyter Blog (July 26, 2023)](https://blog.jupyter.org/announcing-jupyter-notebook-7-8d6d66126dcf/?gi=91803318295b)
10. [Project Jupyter | JupyterHub](https://jupyter.org/hub)
11. [Previous Governance of Project Jupyter](https://jupyter.org/governance/archive/governance/)
12. [A Systematic Literature Review of Software Engineering Research on Jupyter Notebook](https://leo-lihao.github.io/files/J6.pdf)
13. [Computational reproducibility of Jupyter notebooks from biomedical publications (Samuel & Mietchen, arXiv:2209.04308)](https://arxiv.org/abs/2209.04308)
14. [JupyterLab 4.1 and Notebook 7.1 are here · Jupyter Blog (February 26, 2024)](https://blog.jupyter.org/posts/2024/jupyterlab-4-1-and-notebook-7-1-are-here/)
15. [Archives · Jupyter Blog](https://blog.jupyter.org/archives/)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Development tools and collaboration infrastructure › Build, deployment, and development tooling

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/project-jupyter

English original: https://www.edgepedia.org/project-jupyter
