Extensions to the Jupyter Widgets in the `ipywidgets` pacakge.
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
File details
Details for the file ipywidgets-extended-1.1.1.tar.gz
.
File metadata
- Download URL: ipywidgets-extended-1.1.1.tar.gz
- Upload date:
- Size: 29.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0f4da2ef2e9aa52629b1ac822c06aafeb1b850ce68f2ec115dad14bcc40dbbc |
|
MD5 | 22c3ab05db068d328af01145fff375c6 |
|
BLAKE2b-256 | 9aca7e5781874786b48254855fc3e096cec05d456feda7b973762a7d7bd93ea9 |
File details
Details for the file ipywidgets_extended-1.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: ipywidgets_extended-1.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 30.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acda4f455e465edb5c50c66ca9a7b1231fb2eeae9d8975768675fffea456dd9b |
|
MD5 | b7ec24f0337865eda84f8cfbf455c7d2 |
|
BLAKE2b-256 | fbf334d1f32b3cbed8a5d5227b17aea50898b13f48f260b1d1a25e75795a336b |