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.
Metadata
Release files for widget-dropdown 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| widget_dropdown-0.4.1.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| widget_dropdown-0.4.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 6.4 kB
Release files / widget_dropdown-0.4.1.tar.gz
| Download URL | widget_dropdown-0.4.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cf18fc462c08318f980e98846e6c862259efe1425a0b929843eccae41e96149
|
|
BLAKE2b-256 checksum How to use checksums |
f3c2cb246e515646f0d8e1e159b5424970cdb8726445b66187e7c90f42f16a91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / widget_dropdown-0.4.1-py2.py3-none-any.whl
| Download URL | widget_dropdown-0.4.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
baaa710a674efdf85a2c8f42dbcba3eb99817b7fdf50294dd0d3f4ae56e54742
|
|
BLAKE2b-256 checksum How to use checksums |
552f344c8dd0563e903b7a2e122d493d51f62483220d3250347a97d0df5c45df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|