🪐 ⚛️ Jupyter React, React.js components 💯% compatible with Jupyter.
Project description
🪐 ⚛️ Jupyter React
clientId
:
"8bbaf1ef-b6b4-4b36-93a4-50c3e78e9372"
id
:
"114ecc62-9162-4ee8-b349-8012ca743ba3"
kernelInfo
:
undefined
path
:
"kernel-b5e89a69-0867-4ffd-abf2-e5f4f32ce51d"
sessionId
:
"2873df11-3e7d-45e1-8946-49f0e2ece55a"
Jupyter React is a set of React.js components that allow a frontend developer to build data products compatible with the Jupyter ecosystem. The user interface delivers executable notebooks and cells.
The below image shows a gallery of the available React.js components ready to be used in you custom application. These open source components are used to build the online Datalayer service, a collaborative platform for data analysis.
The Jupyter(Lab) notebook is a tool that allows data scientist to analyse dataset. However, it is not easy to create a custom user interface integrated in an existing application. Jupyter React, an open-source library, fills that gap and provides components that a developer can easily integrate in any React.js application.
In terms of technical stack, the Jupyter(Lab) user interface is built on top of Lumino, which is an imperative way to build user interface and can not be consumed by industry standard declarative frameworks like React.js. As a user interface developer, if you want to create a custom data product on top of Jupyter, you have to stick to Lumino and carry-on the full notebook interface not tailored to your specific needs. This is not what you want. You just want to expose what you need, you want to develop with your favorite toolkit (like React.js) and you also want to integrate on a per-component basis the Jupyter functionality in your application.
Although a developer can embed a React.js component into JupyterLab, the reverse is not possible: you can not embed JupyterLab into a React.js application. To solve that issue, Jupyter-React ships components to easily create a React.js data product compatible with the Jupyter ecosystem. Those components can be used in any React.js application, and also in static websites like Docusaurus, Next.js or Remix. They wrap underneath the JupyterLab code and allow developing React.js applications with code execution capability. State management is based on Redux, and Mobx is to be added.
IPyWidgets are supported (the Comm feature needs to be fixed). JupyterLite and PyScript support is on the roadmap. Autocompletion is also available.
You can find more context reading this abstract of the talk given at FOSDEM 2022 (video recording).
As a React.js developer, you just write a few lines of code get a live notebook or live cell in your application.
The typedoc documentation is available online.
Jupyter React can be used in any React.js application. Install the latest @datalayer/jupyter-react
npm package and get inspired by the examples in this repository.
Releases
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jupyter_react-0.7.0.tar.gz
.
File metadata
- Download URL: jupyter_react-0.7.0.tar.gz
- Upload date:
- Size: 4.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4892e446c867a660a1418825b5e34a04254d42b6a302ed91039464a0c63ac0c4 |
|
MD5 | 444c44a9269f82b6a681f28f26957579 |
|
BLAKE2b-256 | 51d786bca7543908bd96998bcb3a2f5f12d315e5ca51b08edf497e0f49b48f1c |
File details
Details for the file jupyter_react-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: jupyter_react-0.7.0-py3-none-any.whl
- Upload date:
- Size: 6.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b580bc4973edb1c1bda22db0f965cdf7fdd7aaa841bf69a8183790c951ca6bbb |
|
MD5 | 764c8c435247b5df7245934ee08f97c6 |
|
BLAKE2b-256 | bfb7c5c00d64bb60571a48fad8bfab2fb6bdda591b6457fefe9ed768020bacc0 |