在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:jupyter-widgets/ipywidgets开源软件地址:https://github.com/jupyter-widgets/ipywidgets开源编程语言:TypeScript 50.8%开源软件介绍:ipywidgets: Interactive HTML Widgets
ipywidgets, also known as jupyter-widgets or simply widgets, are interactive HTML widgets for Jupyter notebooks and the IPython kernel. Notebooks come alive when interactive widgets are used. Users gain control of their data and can visualize changes in the data. Learning becomes an immersive, fun experience. Researchers can easily see how changing inputs to a model impact the results. We hope you will add ipywidgets to your notebooks, and we're here to help you get started. Core Interactive WidgetsThe fundamental widgets provided by this library are called core interactive widgets. A demonstration notebook provides an overview of the core interactive widgets, including:
Jupyter Interactive Widgets as a FrameworkBesides the widgets already provided with the library, the framework can be extended with the development of custom widget libraries. For detailed information, please refer to the ipywidgets documentation. Cookiecutter template for custom widget developmentA template project for building custom widgets is available as a cookiecutter. This cookiecutter project helps custom widget authors get started with the packaging and the distribution of their custom Jupyter interactive widgets. The cookiecutter produces a project for a Jupyter interactive widget library following the current best practices for using interactive widgets. An implementation for a placeholder "Hello World" widget is provided as an example. Popular widget libraries such as bqplot, pythreejs and ipyleaflet follow exactly the same template and directory structure. They serve as more advanced examples of usage of the Jupyter widget infrastructure. Popular custom widget examplesExamples of custom widget libraries built upon ipywidgets are
InstallThe stable version of ipywidgets can be installed with pip or conda. With pip: pip install ipywidgets With conda: conda install -c conda-forge ipywidgets Developer install from sourceInstalling from source is more complicated and requires a developer install, see the detailed developer install instructions. If you want to install ipywidgets from source, you will need the
yarn package manager version 1.2.1 or later.
To install the latest master version from the root directory of the source
code, run UsageSee the examples section of the documentation. The widgets are being used in a variety of ways; some uses can be seen in these notebooks: Demo notebook of interactive widgets Change logVersion Compatibility with Front-End ClientsRefer to change log for more detail.
Contributing to ipywidgetsLicenseWe use a shared copyright model that enables all contributors to maintain the copyright on their contributions. See the LICENSE file in this repository for details. Project Jupyter resources |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论