jupyter-book / thebe

Turn static HTML pages into live documents with Jupyter kernels.

Home Page:https://thebe.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

thebe logo

Thebe: Integrate Jupyter based computation into web apps and static web pages

launch badge

Note: This readme has been updated for the 0.9.0 release

The previous README for 0.8.x is now located here, or alternatively see the 0.8.x branch.

Important

thebe 0.9.0 is still under development and documentation is work in progress (PRs welcome!)

Thebe is a set of libraries allowing web applications and static web pages to provide interactive computation backed by a Jupyter kernel. It is organized in multiple libraries to allow it to be used flexibly in different web contexts.

Thebe comprises the following packages (located in the packages/ folder in this repo):

  • thebe - a browser bundle providing the same high level functionality found in earlier versions of thebe. Add the js & css bundles to your webpage, along with configuration information and make code cells editable, executable and interactive.
  • thebe-core - a typescript library shipped as esm/cjs/browser-bundle providing access to low level runtime objects and functions for working with Jupyter Servers, Sessions, Notebooks and Cells.
  • thebe-lite - a drop in typescript library shipped as a browser bundle that can be side-loaded alongside thebe-core that adds a jupyterlite server for WASM based kernels.
  • thebe-react - a typescript library providing React hooks and provider components for using thebe-core functionality within React applications.

Documentation

The latest thebe documentation is build using mystmd and is hosted here.

Demos

The demo page from apps/simple are hosted here on github pages which let's you check out the interactivity that the top level thebe library provides along with thebe-lite for JupyterLite based pyodide kernel access.

Development Setup

For the latest information on setting up a local development environment see CONTRIBUTING.md in this repository.

Legacy information on thebe builds is here

For more information on contributing to thebe, see the thebe contributing documentation although note that

Acknowledgements

thebe was developed as a part of OpenDreamKit – Horizon 2020 European Research Infrastructure project (676541). It is currently stewarded by the Executable Books Project. Additional support was provided by the U.S. Department of Education Open Textbooks Pilot Program funding for the LibreTexts project (P116T180029).

About

Turn static HTML pages into live documents with Jupyter kernels.

https://thebe.readthedocs.io

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Jupyter Notebook 88.9%Language:TypeScript 7.7%Language:HTML 2.0%Language:JavaScript 0.9%Language:CSS 0.3%Language:Python 0.2%Language:Makefile 0.1%Language:Shell 0.0%