$npx skillfedfor your agent

nbsphinx

Jupyter Notebook Tools for Sphinx

Worth itPyPI SphinxReleased Nov 20251.9M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — nbsphinx-0.9.8-py3-none-any.whl
v0.9.8 · released 2025-11-28 · Python >=3.8 · 6 runtime deps: docutils, jinja2, nbconvert, nbformat, sphinx, traitlets

Yes. nbsphinx is actively maintained, has low install friction, carries no security vulnerabilities, and solves a specific and well-defined problem: integrating Jupyter Notebooks into Sphinx documentation. Install it if you want to include executable notebooks or notebook-style examples in your Sphinx docs; skip it if your documentation doesn't use notebooks.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.8 and an existing Sphinx documentation project.
  • Low friction: pure Python wheel with six runtime dependencies.
  • Actively maintained with a recent release (259 days ago) and steady commit activity.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in your own projects.

last release 2025-11-28 (259 days) · last repo commit 2026-07-21 · 472 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,913,540 downloads/mo, #3,438 on PyPI

Verify before relying

pip install nbsphinx

Edit conf.py and add 'nbsphinx' to extensions:
  extensions = ['nbsphinx']

Add notebook filenames to index.rst toctree:
  .. toctree::
     my_notebook.ipynb
  • Whether automatic notebook execution during build requires specific Jupyter kernel or environment setup beyond the listed dependencies.
  • Performance characteristics when building documentation with many or large notebooks.
Same gist for agents: .md · .json

What it is and what it does

nbsphinx bridges Jupyter Notebooks and Sphinx documentation by treating .ipynb files as native Sphinx source. When you add notebook filenames to your Sphinx toctree, the extension parses them, renders code cells and outputs as documentation, and automatically executes any notebooks that lack stored output. This lets you write executable examples or tutorials as Jupyter Notebooks and have them appear seamlessly in your Sphinx-built HTML or LaTeX docs.

The package depends on nbconvert and nbformat to handle notebook I/O, sphinx for the documentation framework, and supporting libraries (docutils, jinja2, traitlets) for rendering and configuration. It's designed for technical documentation, education, and research contexts where executable code examples are valuable.

Use it for

  • Include executable Jupyter tutorials or walkthroughs directly in Sphinx documentation without manual conversion.
  • Build API documentation that interleaves narrative text with runnable code examples from notebooks.
  • Create scientific or research documentation where computed results are embedded in the final HTML or PDF output.
  • Maintain a single notebook source that serves both as a standalone Jupyter file and as part of your Sphinx docs.
  • Automatically regenerate documentation output from notebooks during the build, keeping examples in sync with code.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

nbsphinx is actively maintained, has low install friction, carries no security vulnerabilities, and solves a specific and well-defined problem: integrating Jupyter Notebooks into Sphinx documentation. Install it if you want to include executable notebooks or notebook-style examples in your Sphinx docs; skip it if your documentation doesn't use notebooks.

Install

nbsphinx on PyPI

Before you install

Low friction: pure Python wheel with six runtime dependencies. Actively maintained with a recent release (259 days ago) and steady commit activity.

Requires Python >= 3.8 and an existing Sphinx documentation project.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution in your own projects.

Quickstart

pip install nbsphinx

Edit conf.py and add 'nbsphinx' to extensions:
  extensions = ['nbsphinx']

Add notebook filenames to index.rst toctree:
  .. toctree::
     my_notebook.ipynb

Verify before relying

  • Whether automatic notebook execution during build requires specific Jupyter kernel or environment setup beyond the listed dependencies.
  • Performance characteristics when building documentation with many or large notebooks.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
docutilsjinja2nbconvertnbformatsphinxtraitlets
MaintenanceActively maintained 259 days since the last release
Last repo commit
First released
Downloads1,913,540 / month, #3,438 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: JupyterFramework :: SphinxFramework :: Sphinx :: ExtensionIntended Audience :: EducationIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Documentation :: Sphinx

Evidence: nbsphinx-0.9.8-py3-none-any.whl

Tags

Capabilities
jupyter notebook sphinx documentationsphinx ipynb parserinclude jupyter notebooks in sphinx docsnotebook to sphinx htmlsphinx jupyter integrationdocument jupyter code cellssphinx notebook extension
Topics
jupyter-integrationdocumentation-generation
PyPI keywords
SphinxJupyternotebook

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “jupyter notebook sphinx documentation”

  • nbsphinxnbsphinx is a Sphinx extension that parses Jupyter Notebook files…
  • myst-nbSphinx extension that parses and converts Jupyter Notebooks (.ipynb…
  • nbsphinx-linkA Sphinx extension that lets you include Jupyter notebooks from…

Give your agent the search over MCP, or paste the wish link into any chat.

More Sphinx packages

docstring-parser Worth it
PyPI · Python Modules · released Apr 2026

Parses Python docstrings in ReST, Google, Numpydoc, and Epydoc formats, extracting structured information like descriptions, parameters, return types, and exceptions.

Install it if you need to programmatically read and extract structured data from Python docstrings.

MITpure Python · 3.8+
274.9Mdownloads / mo
Sphinx Worth it
PyPI · Software Development · released Dec 2025

Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.

BSD-2-Clausepure Python · 3.12+
91.8Mdownloads / mo
sphinxcontrib-serializinghtml With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.

BSD-3-Clausepure Python · 3.9+dormant
30.5Mdownloads / mo
alabaster Worth it
PyPI · Documentation · released Jul 2024

Alabaster is a clean, responsive Sphinx theme for documentation that requires Python 3.10 or newer and Sphinx 6.2 or newer.

BSD-3-Clausepure Python · 3.10+dormant
30.4Mdownloads / mo
sphinxcontrib-htmlhelp With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that generates HTML help files from reStructuredText documentation source.

BSD-3-Clausepure Python · 3.9+dormant
27.7Mdownloads / mo
sphinxcontrib-qthelp With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that converts documentation source files into QtHelp format, enabling integration with Qt-based help systems and documentation viewers.

However, be aware that maintenance is dormant—if you rely on it long-term, monitor Sphinx compatibility and consider whether QtHelp remains the right format for your…

BSD-3-Clausepure Python · 3.9+dormant
27.6Mdownloads / mo

See also myst-nb · nbsphinx-link · sphinx-jupyterbook-latex · nbdev · nbstripout · jupyter-sphinx · ipynbname · importnb · nbval · nbconvert