No project description provided
Project description
widget-dropdown
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).
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.0.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file widget_dropdown-0.3.0.tar.gz
.
File metadata
- Download URL: widget_dropdown-0.3.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53d256f8d730af345a5c151c6bb1bc5a65bc26598a5e031079aad38385e7d125 |
|
MD5 | 73b1bb5930a1b13ace389d1fada10233 |
|
BLAKE2b-256 | 21cea2a8e4324840edb9715619f1345406ecd704e16dea0748ce691268214343 |
File details
Details for the file widget_dropdown-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: widget_dropdown-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6c0030171dcceeea6d970a2ad965a44a2ea1decff1586b77b239ab3d31f510a |
|
MD5 | 1e49cffb1fc0a577dcfe8c5feb88b812 |
|
BLAKE2b-256 | b0c6ad944ba0631413151b69573c3433c20f8abe3e07558e738032638201ce57 |