{"id":13645852,"url":"https://github.com/jupyter-xeus/xwidgets","last_synced_at":"2025-04-07T16:18:27.421Z","repository":{"id":37469778,"uuid":"98531561","full_name":"jupyter-xeus/xwidgets","owner":"jupyter-xeus","description":"C++ backend for Jupyter interactive widgets","archived":false,"fork":false,"pushed_at":"2024-05-31T09:13:20.000Z","size":9458,"stargazers_count":139,"open_issues_count":19,"forks_count":27,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-03-31T12:08:25.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jupyter-xeus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-27T12:11:00.000Z","updated_at":"2025-03-24T04:32:35.000Z","dependencies_parsed_at":"2024-01-03T07:08:54.358Z","dependency_job_id":"ef51014a-f49a-40fe-81a0-bc9d7579cacb","html_url":"https://github.com/jupyter-xeus/xwidgets","commit_stats":{"total_commits":392,"total_committers":10,"mean_commits":39.2,"dds":0.4285714285714286,"last_synced_commit":"def32b58b5c1c2680e04c7bfd3bd0baea64d1a7c"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyter-xeus%2Fxwidgets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyter-xeus%2Fxwidgets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyter-xeus%2Fxwidgets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyter-xeus%2Fxwidgets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jupyter-xeus","download_url":"https://codeload.github.com/jupyter-xeus/xwidgets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247685628,"owners_count":20979085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:02:43.537Z","updated_at":"2025-04-07T16:18:27.391Z","avatar_url":"https://github.com/jupyter-xeus.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# ![xwidgets](docs/source/xwidgets.svg)\n\n[![GithubActions](https://github.com/jupyter-xeus/xwidgets/actions/workflows/main.yml/badge.svg)](https://github.com/jupyter-xeus/xwidgets/actions/workflows/main.yml)\n[![Documentation](http://readthedocs.org/projects/xwidgets/badge/?version=latest)](https://xwidgets.readthedocs.io/en/latest/?badge=latest)\n[![Binder](https://img.shields.io/badge/launch-binder-brightgreen.svg)](https://mybinder.org/v2/gh/jupyter-xeus/xwidgets/stable?filepath=notebooks/xwidgets.ipynb)\n[![Join the Gitter Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/QuantStack/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nA C++ backend for Jupyter interactive widgets.\n\n## Introduction\n\n`xwidgets` is a C++ implementation of the Jupyter interactive widgets protocol.\nThe Python reference implementation is available in the\n[ipywidgets](https://github.com/jupyter-widgets/ipywidgets) project.\n\n`xwidgets` enables the use of the Jupyter interactive widgets in the C++\nnotebook, powered by the `xeus-cling` kernel and the `cling` C++ interpreter\nfrom CERN. `xwidgets` can also be used to create applications making use of the\nJupyter interactive widgets without the C++ kernel *per se*.\n\n## Usage\n\nLaunch the jupyter notebook with `jupyter notebook` and launch a new C++\nnotebook by selecting the **xeus C++14** kernel in the *new* dropdown.\n\n![Widgets](widgets.gif)\n\n## Installation\n\nWe provide a package for the mamba (or conda) package manager.\n\n- Installing `xwidgets` and the C++ kernel\n\n```bash\nmamba install xeus-cling xwidgets -c conda-forge\n```\n\nThen, the front-end extension must be installed for either the classic notebook\nor JupyterLab.\n\n- Installing the extension for the classic notebook\n\n```\nmamba install widgetsnbextension -c conda-forge\n```\n\n## Installation from sources\n\nOr you can directly install it from the sources if you have all the\ndependencies already installed:\n\n```bash\ncmake -D CMAKE_INSTALL_PREFIX=your_install_prefix\nmake install\n```\n\n## Trying it online\n\nTo try out xwidgets interactively in your web browser, just click on the binder\nlink:\n\n[![Binder](binder-logo.svg)](https://mybinder.org/v2/gh/jupyter-xeus/xwidgets/stable?filepath=notebooks/xwidgets.ipynb)\n\n## Documentation\n\nTo get started with using `xwidgets`, check out the full documentation\n\nhttp://xwidgets.readthedocs.io/\n\n## Dependencies\n\nAll the dependencies of xwidgets are available for the mamba (or conda) package manager.\n\n| `xwidgets` | `jupyterlab_widgets` | `widgetsnbextension` | `xproperty`    | `xeus`         | `nlohmann_json` |\n|------------|----------------------|----------------------|----------------|----------------|-----------------|\n|  main      | ^3.0.0               | ^4.0.0               | \u003e=0.11.0,\u003c0.12 | \u003e=5.0,\u003c6.0     | \u003e=3.11.3,\u003c3.12  |\n|  0.29.0    | ^3.0.0               | ^4.0.0               | \u003e=0.11.0,\u003c0.12 | \u003e=5.0,\u003c6.0     | \u003e=3.11.3,\u003c3.12  |\n\nVersions prior to 0.29 also depend on the xtl:\n\n| `xwidgets` | `jupyterlab_widgets` | `widgetsnbextension` | `xtl`          | `xproperty`    | `xeus`         | `nlohmann_json` |\n|------------|----------------------|----------------------|----------------|----------------|----------------|-----------------|\n|  master    | ^3.0.0               | ^4.0.0               | \u003e=0.7,\u003c0.8     | \u003e=0.11.0,\u003c0.12 | \u003e=3.2,\u003c4.0     | \u003e=3.9.1,\u003c3.10   |\n|  0.28.1    | ^3.0.0               | ^4.0.0               | \u003e=0.7,\u003c0.8     | \u003e=0.11.0,\u003c0.12 | \u003e=3.2,\u003c4.0     | \u003e=3.9.1,\u003c3.10   |\n|  0.28.0    | ^3.0.0               | ^4.0.0               | \u003e=0.7,\u003c0.8     | \u003e=0.11.0,\u003c0.12 | \u003e=3.0,\u003c4.0     | \u003e=3.9.1,\u003c3.10   |\n|  0.27.3    |                      | ^3.0.0               | \u003e=0.7,\u003c0.8     | \u003e=0.11.0,\u003c0.12 | \u003e=3.0,\u003c4.0     | \u003e=3.9.1,\u003c3.10   |\n|  0.27.2    |                      | ^3.0.0               | \u003e=0.7,\u003c0.8     | \u003e=0.11.0,\u003c0.12 | \u003e=3.0,\u003c4.0     | \u003e=3.9.1,\u003c3.10   |\n|  0.27.1    |                      | ^3.0.0               | \u003e=0.7,\u003c0.8     | \u003e=0.11.0,\u003c0.12 | \u003e=3.0,\u003c4.0     | \u003e=3.9.1,\u003c3.10   |\n|  0.27.0    |                      | ^3.0.0               | \u003e=0.7,\u003c0.8     | \u003e=0.11.0,\u003c0.12 | \u003e=3.0,\u003c4.0     | \u003e=3.9.1,\u003c3.10   |\n|  0.26.1    |                      | ^3.0.0               | \u003e=0.7,\u003c0.8     | \u003e=0.11.0,\u003c0.12 | \u003e=2.0,\u003c3.0     | \u003e=3.9.1,\u003c3.10   |\n|  0.26.0    |                      | ^3.0.0               | \u003e=0.7,\u003c0.8     | \u003e=0.11.0,\u003c0.12 | \u003e=2.0,\u003c3.0     | \u003e=3.9.1,\u003c3.10   |\n|  0.25.0    |                      | ^3.0.0               | \u003e=0.7,\u003c0.8     | \u003e=0.11.0,\u003c0.12 | \u003e=1.0,\u003c2.0     | \u003e=3.6.1,\u003c4.0    |\n\nPackages `jupyterlab_widgets` and `widgetsnbextension` are not dependencies *per se*, but\nhold the frontend counterparts for JupyterLab and the classic notebook respectively that must be installed\nin the environment of the Jupyter server.\n\n## License\n\nWe use a shared copyright model that enables all contributors to maintain the\ncopyright on their contributions.\n\nThis software is licensed under the BSD-3-Clause license.\nSee the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupyter-xeus%2Fxwidgets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjupyter-xeus%2Fxwidgets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupyter-xeus%2Fxwidgets/lists"}