jupyter-book
Create computational narratives that are reusable, reproducible, and interactive.
What it is and what it does
Jupyter Book is a tool for building publication-quality books and documents from computational material—Markdown files and Jupyter notebooks mixed together. It lets you write content in either format, embed executable code cells, add rich syntax like citations and cross-references, then build the whole thing into a web-based interactive book and a PDF, all from a single command.
The package sits on top of standard Jupyter infrastructure (ipykernel, jupyter-core, jupyter-server) and handles the orchestration of running code, caching outputs, and converting the result to multiple formats. It's designed for technical documentation, educational materials, and research narratives where you want the source to be both readable and executable.
Use it for:
- Build a textbook or course material where students can read and run code examples interactively in the browser.
- Publish research findings as a narrative document with embedded analysis code and figures that regenerate on rebuild.
- Create technical documentation that mixes prose, code samples, and live outputs in a single cohesive book.
- Generate a PDF report from a collection of Jupyter notebooks with consistent styling and cross-references.
- Maintain a reproducible project narrative where the book source is version-controlled alongside the code it documents.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Jupyter Book converts Markdown files and Jupyter notebooks into publication-quality books and documents, executing embedded code cells and generating both interactive web books and PDFs.
Yes. Jupyter Book is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real problem for anyone building technical books or reproducible narratives from notebooks and Markdown. The permissive BSD license poses no barrier. Install it if you need to publish computational content as a polished book or document.
Install
jupyter-book on PyPI
pip
pip install jupyter-bookuv
uv add jupyter-bookpoetry
poetry add jupyter-bookInstalling jupyter-book
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release; depends on standard Jupyter infrastructure (ipykernel, jupyter-core, jupyter-server) plus platformdirs and nodeenv.
License in practice
BSD License (permissive) means you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.
Quickstart
pip install jupyter-book
jupyter-book build ./my-book
Requires Python 3.9 or later; nodeenv dependency may require Node.js tooling to be available on your system.
Verify before relying
- Whether nodeenv is a runtime or build-time dependency and what Node.js version it requires
- Whether the PDF output requires additional system dependencies (e.g., LaTeX, Chromium)
- Performance characteristics when building large books with many code cells
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — ipykernel, jupyter-core, jupyter-server, platformdirs, nodeenv |
| Maintenance | actively maintained — 40 days since the last release |
| First released | |
| Downloads | 342,550/month — #7,396 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: jupyter_book-2.1.6-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
EbookLibEbookLib reads and writes EPUB2/EPUB3 files…
agpl · top 5,000 on PyPI
jupyter-cacheCaches Jupyter notebook execution outputs to…
permissive · top 5,000 on PyPI
nbconvertnbconvert converts Jupyter notebooks (.ipynb…
permissive · top 1,000 on PyPI
sphinx-jupyterbook-latexA Sphinx extension that adds LaTeX output…
permissive · top 15,000 on PyPI
myst-nbSphinx extension that parses and converts…
unclear · top 5,000 on PyPI
mkdocs-jupyterConverts Jupyter notebooks and Python scripts…
permissive · top 15,000 on PyPI
nbdevnbdev is a notebook-driven development platform…
permissive · top 15,000 on PyPI
sphinx-book-themeA Sphinx theme that renders documentation as an…
permissive · top 5,000 on PyPI
jupytextJupytext converts Jupyter notebooks to and from…
permissive · top 5,000 on PyPI
isbnlibisbnlib validates, cleans, transforms, and…
copyleft · top 15,000 on PyPI