ipyevents
Browsers events for your jupyter widgets
ipyevents provides a custom widget for returning mouse and keyboard events to Python. Use it to:
- add keyboard shortcuts to an existing widget;
- react to the user clicking on an image;
- add callbacks on arbitrary mouse and keyboard events.
See this demo notebook for documentation.
Special thanks to the contributors to ipyevents!
Try it on binder:
Documentation
Installation
To install using conda:
$ conda install -c conda-forge ipyevents
To install use pip:
$ pip install ipyevents
Using with JupyterLab (whether you installed with conda or pip):
- The stable releases of ipyevents (
2.0.0and higher) are only built for JupyterLab 3 and up. - The last release that is built for JupyterLab 2 is 0.9.0. See the README for that version for installation instructions.
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager ipyevents
For a development installation (requires npm),
$ git clone https://github.com/mwcraig/ipyevents.git
$ cd ipyevents
$ pip install -e .
$ jupyter nbextension install --py --symlink --sys-prefix ipyevents
$ jupyter nbextension enable --py --sys-prefix ipyevents
For Jupyter Lab also do this:
$ npm install
$ npm run build
$ jupyter labextension install
Metadata
Release files for ipyevents 2.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ipyevents-2.0.4.tar.gz | 210.6 kB | Without provenance | Details for ipyevents-2.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ipyevents-2.0.4-py3-none-any.whl | Python 3 | none | any | Details for ipyevents-2.0.4-py3-none-any.whl |
Total release size: 313.0 kB
Release files / ipyevents-2.0.4.tar.gz
| Download URL | ipyevents-2.0.4.tar.gz |
|---|---|
| Size | 210.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd8c66a9ff26f481494cda1ec1d979722ca9eba19f8ef52538c7cc2db2a1a139
|
|
BLAKE2b-256 checksum How to use checksums |
82e5ac7e199dd22ce3f7e0d43c6433fef5450197fa81994393e3381893b12d61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Release files / ipyevents-2.0.4-py3-none-any.whl
| Download URL | ipyevents-2.0.4-py3-none-any.whl |
|---|---|
| Size | 102.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e532e05b037f70373850723f483d2830cb8a633e5aa19637ee9e7adaf41421f1
|
|
BLAKE2b-256 checksum How to use checksums |
cad3642a6dc3db8ea558a9b5fbc83815b197861868dc98f98a789b85c7660670
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Security for ipyevents 2.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.