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.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for widget_dropdown-0.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cb79d39ca88a4c56b3abf0d5d5fd26c106ad9b3c9a548ca67f26bda03d5d183 |
|
MD5 | 994b05d0816aecba3f295401c0d4e931 |
|
BLAKE2b-256 | 7c178a15c29848595ae4a3833c0c8d541246fdc924bb4854c534b9a46d0ebbf1 |