The C++ backend for Jupyter interactive widgets.
xwidgets is an early developer preview, and is not suitable for general usage yet. Features and implementation are subject to change.
xwidgets
is a C++ implementation of the Jupyter interactive widgets protocol. The Python reference implementation is available in the ipywidgets project.
xwidgets
enables the use of the Jupyter interactive widgets in the C++ notebook, powered by the xeus-cling
kernel and the cling
C++ interpreter from CERN. xwidgets
can also be used to create applications making use of the Jupyter interactive widgets without the C++ kernel per se.
Launch the jupyter notebook with jupyter notebook
and launch a new C++ notebook by selecting the xeus C++14 kernel in the new dropdown.
We provide a xeus-cling
package for the conda package manager.
conda install xeus-cling notebook xwidgets widgetsnbextension -c QuantStack
Or you can directly install it from the sources if you have all the dependencies already installed:
cmake -D CMAKE_INSTALL_PREFIX=your_install_prefix
make install
All the dependencies of xwidgets are available for the conda package manager.
xwidgets |
widgetsnbextension |
xtl |
xproperty |
xeus |
---|---|---|---|---|
master | ~3.0.0 | >=0.3.5,<0.4 | >=0.6.0,<0.7 | >=0.8.0,<0.9 |
0.6.0 | ~3.0.0 | >=0.3.5,<0.4 | >=0.6.0,<0.7 | >=0.8.0,<0.9 |
0.5.2 | ~3.0.0 | >=0.3.5,<0.4 | >=0.4.2,<0.5 | >=0.8.0,<0.9 |
0.5.1 | ~3.0.0 | >=0.3.4,<0.4 | >=0.4.2,<0.5 | >=0.8.0,<0.9 |
0.5.0 | ~3.0.0 | >=0.3.4,<0.4 | >=0.4.1,<0.5 | >=0.8.0,<0.9 |
We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.
This software is licensed under the BSD-3-Clause license. See the LICENSE file for details.