Coder Social home page Coder Social logo

antoineprv / xwidgets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jupyter-xeus/xwidgets

0.0 1.0 0.0 9.21 MB

C++ backend for Jupyter interactive widgets

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

C++ 87.13% CMake 4.28% Jupyter Notebook 8.59%

xwidgets's Introduction

xwidgets

Azure Pipelines Appveyor Documentation Binder Join the Gitter Chat

A C++ backend for Jupyter interactive widgets.

Introduction

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.

Usage

Launch the jupyter notebook with jupyter notebook and launch a new C++ notebook by selecting the xeus C++14 kernel in the new dropdown.

Widgets

Installation

We provide a package for the mamba (or conda) package manager.

  • Installing xwidgets and the C++ kernel
mamba install xeus-cling xwidgets -c conda-forge

Then, the front-end extension must be installed for either the classic notebook or JupyterLab.

  • Installing the extension for the classic notebook
mamba install widgetsnbextension -c conda-forge
  • Installing the JupyterLab extension
jupyter labextension install @jupyter-widgets/jupyterlab-manager

This command defaults to installing the latest version of the JupyterLab extension. Depending on the version of xwidgets and jupyterlab you have installed you may need an older version.

Installation from sources

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

Trying it online

To try out xwidgets interactively in your web browser, just click on the binder link:

Binder

Documentation

To get started with using xwidgets, check out the full documentation

http://xwidgets.readthedocs.io/

Dependencies

All the dependencies of xwidgets are available for the mamba (or conda) package manager.

xwidgets widgetsnbextension xtl xproperty xeus nlohmann_json
master ^3.0.0 >=0.7,<0.8 >=0.11.0,<0.12 >=3.0,<4.0 >=3.9.1,<3.10
0.27.3 ^3.0.0 >=0.7,<0.8 >=0.11.0,<0.12 >=3.0,<4.0 >=3.9.1,<3.10
0.27.2 ^3.0.0 >=0.7,<0.8 >=0.11.0,<0.12 >=3.0,<4.0 >=3.9.1,<3.10
0.27.1 ^3.0.0 >=0.7,<0.8 >=0.11.0,<0.12 >=3.0,<4.0 >=3.9.1,<3.10
0.27.0 ^3.0.0 >=0.7,<0.8 >=0.11.0,<0.12 >=3.0,<4.0 >=3.9.1,<3.10
0.26.1 ^3.0.0 >=0.7,<0.8 >=0.11.0,<0.12 >=2.0,<3.0 >=3.9.1,<3.10
0.26.0 ^3.0.0 >=0.7,<0.8 >=0.11.0,<0.12 >=2.0,<3.0 >=3.9.1,<3.10
0.25.0 ^3.0.0 >=0.7,<0.8 >=0.11.0,<0.12 >=1.0,<2.0 >=3.6.1,<4.0
0.24.2 ^3.0.0 >=0.6.11,<0.7 >=0.10.0,<0.11 >=0.21.1,<0.26 >=3.6.1,<4.0
0.24.1 ^3.0.0 >=0.6.11,<0.7 >=0.10.0,<0.11 >=0.21.1,<0.26 >=3.6.1,<4.0
0.24.0 ^3.0.0 >=0.6.11,<0.7 >=0.10.0,<0.11 >=0.21.1,<0.25 >=3.6.1,<4.0
0.23.0 ^3.0.0 >=0.6.11,<0.7 >=0.10.0,<0.11 >=0.21.1,<0.25 >=3.6.1,<4.0

License

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.

xwidgets's People

Contributors

sylvaincorlay avatar johanmabille avatar antoineprv avatar martinrenou avatar gouarin avatar derthorsten avatar rapgenic avatar wolfv avatar ax3l avatar joequant avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.