Skip to main content

No project description provided

Project description

widget-dropdown

PyPI - Version

A Jupyter widget for a dropdown selector that allows for

  • disabling entries (grayed out; unselectable);
  • grouping entries under a title (the title is not selectable).
demo-img

Installation

pip install widget-dropdown

Development installation

Install the python code:

pip install -e .[dev]

You then need to install the JavaScript dependencies and run the development server.

npm install
npm run dev

Open example.ipynb in JupyterLab, VS Code, or your favorite editor to start developing. Changes made in js/ will be reflected in the notebook.

Making a new release

  • Update version in pyproject.toml
  • git add . && git commit -m "vX.Y.Z"
  • Create a corresponding git tag (git tag vX.Y.Z)
  • Push to Github (git push && git push --tags), which will start the Github Action to create a Github Release & publish the new version to PYPI.

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

widget_dropdown-0.3.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

widget_dropdown-0.3.1-py2.py3-none-any.whl (3.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file widget_dropdown-0.3.1.tar.gz.

File metadata

  • Download URL: widget_dropdown-0.3.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for widget_dropdown-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6983df62073a6193dde93686c8a3fbf5f18399281dd53afdebb6e788b8c5f98e
MD5 163a1520a385a56a18ce881b11a5bba5
BLAKE2b-256 b428bfb6f97513c4a057b1c62340f4391dd0b528cd278e3d2b7a92cc9b685e11

See more details on using hashes here.

File details

Details for the file widget_dropdown-0.3.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for widget_dropdown-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0cb79d39ca88a4c56b3abf0d5d5fd26c106ad9b3c9a548ca67f26bda03d5d183
MD5 994b05d0816aecba3f295401c0d4e931
BLAKE2b-256 7c178a15c29848595ae4a3833c0c8d541246fdc924bb4854c534b9a46d0ebbf1

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