Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipywidgets-extended-1.2.0.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

ipywidgets_extended-1.2.0-py2.py3-none-any.whl (17.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ipywidgets-extended-1.2.0.tar.gz.

File metadata

  • Download URL: ipywidgets-extended-1.2.0.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for ipywidgets-extended-1.2.0.tar.gz
Algorithm Hash digest
SHA256 cc5cd6fc2980d65769ae7f78b6e813a4d84dafe6592a16a5a3b03a8b3eb5f330
MD5 f861c86ea4e86da36b6b5fc7adb44d04
BLAKE2b-256 8d11e7d5dd426c44ee331a80b754d82c87cf93c4b6f51eabc141dec6fa7eb5bb

See more details on using hashes here.

File details

Details for the file ipywidgets_extended-1.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ipywidgets_extended-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7366cb123b1f21aea9c98742329df18efebd82a52b5675cbdec067a946edf7e2
MD5 8a6f2170fd44b09b575c6c2a837ba505
BLAKE2b-256 6fc2c55387992a10046438b1259231d7c7938541a64108bbbca691c1455f3406

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page