--- id: sphinx-thebe version: "0.3.1" license: unclear license_treatment: unclear maintenance: dormant --- # sphinx-thebe — Integrate interactive code blocks into your documentation with Thebe and Binder. License: unclear · Maintenance: dormant · Downloads: 193.5K/mo ## What it is and what it does sphinx-thebe is a Sphinx extension that embeds interactive code execution into your documentation. It uses Thebe (a JavaScript library) and Binder (a cloud-hosted Jupyter service) to let readers run, modify, and experiment with code examples directly in their browser without leaving the documentation page. The extension handles the plumbing of connecting your code blocks to a live kernel. You install it as a Python package, add it to your Sphinx configuration, and then annotate code blocks in your documentation to make them interactive. The extension depends only on Sphinx itself, making it straightforward to add to existing documentation builds. However, the project is dormant—no active maintenance since early 2024—so it may not keep pace with newer Sphinx versions or Thebe API changes. Use it for: - Add runnable examples to technical documentation so readers can experiment with code without setting up a local environment. - Create interactive tutorials where learners modify and execute code snippets directly in the browser. - Demonstrate data science workflows in Jupyter-backed documentation, letting readers tweak parameters and see results live. - Build educational materials where code blocks are executable, encouraging hands-on learning. - Showcase library APIs with live examples that readers can test and adapt in real time. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Adds interactive, executable code blocks to Sphinx documentation by integrating Thebe and Binder, allowing readers to run and modify code examples directly in the browser. Yes, if your documentation is Sphinx-based and you want to add interactivity without heavy infrastructure. The low install friction and zero security vulnerabilities are positives. However, the dormant maintenance status (last release Feb 2024, no recent commits) means you should verify compatibility with your Sphinx version and be prepared to fork or patch if issues arise. Confirm the license status before committing to production use. ## Install pip install sphinx-thebe uv add sphinx-thebe poetry add sphinx-thebe ## Installing sphinx-thebe Before you install: Low friction install with a single runtime dependency on Sphinx. Maintenance is dormant—last release was 2024-02-07 and no commits since 2024-09-03—so expect no active bug fixes or feature updates, though the repository remains open and unarchived. License in practice: License status is unclear; the package metadata contains no SPDX identifier or raw license text. Verify the actual license before use in proprietary or restricted contexts. Quickstart: pip install sphinx-thebe Then add to your Sphinx conf.py: extensions = [ "sphinx_thebe" ] Requires Sphinx to be installed and configured; Thebe and Binder infrastructure must be available and properly configured in your documentation setup. Verify before relying: - What license does sphinx-thebe actually use? The metadata is blank. - Does Thebe/Binder integration require additional configuration beyond adding the extension? - What are the runtime dependencies of Thebe itself, and do they introduce additional friction? ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 193.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags interactive code blocks sphinx, executable documentation, thebe sphinx integration, binder jupyter documentation, live code examples docs, runnable code snippets sphinx, browser-based code execution, interactive-docs, jupyter-integration, sphinx-extension [View on SkillFed](https://skillfed.io/packages/sphinx-thebe) · [View on PyPI](https://pypi.org/project/sphinx-thebe/)