Y-based Jupyter widgets for Python
Project description
ypywidgets: Y-based Jupyter widgets for Python
ypywidgets
is a communication backend between a Jupyter kernel and clients. It allows to synchronize data structures that can be modified concurrently, and automatically resolves conflicts. To do so, it uses:
- the Jupyter kernel Comm protocol as the transport layer, and the comm implementation of it.
- the pycrdt CRDT implementation.
- the reacttrs package that implements the observer pattern.
It is a replacement for (a part of) ipywidgets. When used with yjs-widgets, it supports JupyterLab clients that implement widgets. The difference with ipywidgets
is that these widgets are collaborative: they can be manipulated concurrently from the kernel or from any client. The CRDT algorithm ensures that a widget state will eventually be consistent across all clients.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ypywidgets-0.5.0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for ypywidgets-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21fd601977c047d7f4cbb066382fa1bd5d37141828d27bb07da9635e227860bf |
|
MD5 | 8517f0fb05f71283c7321ce18f9667f0 |
|
BLAKE2b-256 | ad3a4de53a972a6675857ce2c4d335a5909b14290fcb44f08c024e4f102b30ea |