Skip to main content

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


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.1.0.tar.gz (29.3 kB view details)

Uploaded Source

Built Distribution

ipywidgets_extended-1.1.0-py2.py3-none-any.whl (30.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: ipywidgets-extended-1.1.0.tar.gz
  • Upload date:
  • Size: 29.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for ipywidgets-extended-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3b6c45e4a2150379ebe21c4db118187af6c76229d04442cdea5dc862365622fd
MD5 d10d70213a9741426c275346ce2ee5a5
BLAKE2b-256 4441eb16760a1aad2f842ed7dc604f3b854f814b04ce28b0f31efe4fbbc183f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipywidgets_extended-1.1.0-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.1 importlib_metadata/3.9.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for ipywidgets_extended-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c466bcc609de39641b1c65506ccb60231d24746b433f3f5816cb3fc66a53bc20
MD5 434a542c7fbec811cfa5f7cb9a7890b5
BLAKE2b-256 964b3105bd18df463e594f59799718eca454b8089c6022c9eb850141e0eac7a1

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