Extensions to the Jupyter Widgets in the `ipywidgets` package.
Project description
Jupyter Widgets - Extended
This package contains widget extensions to the standard ipywidgets package.
The intent is to not produce completely new widgets, but rather extend the widgets already in ipywidgets with more possibilities and options.
Current extended widgets
Dropdown
The dropdown widget has been extended to include the possibility of:
- disabling options; and
- grouping the options.
Disabling
This can be done via the disabled_options traitlet, which must be a list of option labels.
If an option label is included in the disabled_options list traitlet, it will be "grayed out", i.e., disabled (but still visible) in the dropdown widget.
Grouping
Using the grouping parameter instead of the options parameter, options can be grouped as desired.
The format is similar to the value for options, but each grouping of options should be paired with a header, i.e., you'll the value to be an iterable of (header, options)-pairs.
One can introduce un-grouped options by passing an empty header, i.e., an empty string ("").
About
Author: Casper Welzel Andersen (email, website).
License: BSD-3-Clause and copyright (c) 2020 Casper Welzel Andersen & parts by Jupyter Development Team.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ipywidgets-extended-1.2.1.tar.gz.
File metadata
- Download URL: ipywidgets-extended-1.2.1.tar.gz
- Upload date:
- Size: 31.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcd271b508f1a5eafcd7196b4690846068c7ae7f419b2a012167ebbe33731949
|
|
| MD5 |
ddde614129dc83036976372d54b9c060
|
|
| BLAKE2b-256 |
88b77d7928805e117476912e6ed5903c37baa70b23b96921153bd9dc8e98477e
|
File details
Details for the file ipywidgets_extended-1.2.1-py2.py3-none-any.whl.
File metadata
- Download URL: ipywidgets_extended-1.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ffca553ac5159d0e40cb512af57166806d770316c8b9c054019b50a0c18bf4c
|
|
| MD5 |
bc2a4f46f98611756ac2784b1906cb37
|
|
| BLAKE2b-256 |
4963c0d7193b7cf2d21f77e6208cac07e23719e3c70350ecc39f3af0874d73c5
|