Skip to main content

Y-based Jupyter widgets for Python

Project description

Build Status

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 library that implements the observer pattern and validation.

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


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.9.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

ypywidgets-0.9.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file ypywidgets-0.9.0.tar.gz.

File metadata

  • Download URL: ypywidgets-0.9.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for ypywidgets-0.9.0.tar.gz
Algorithm Hash digest
SHA256 ca226f473fa8b1bd9bf4a34d7a5d401cad6b16141fee0f78b9da0e858cbe1dbf
MD5 0e874a084763ec2b824de31266edd7ff
BLAKE2b-256 416e08a7d3185652c51e4a096c3d7e473eaa4ac459f0ba3bdd71c5a911713624

See more details on using hashes here.

File details

Details for the file ypywidgets-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: ypywidgets-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for ypywidgets-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16a5ffbc41dc417faf6ba2fce10670de1f8a16fe1a984e7ad4e9cc04e7161624
MD5 f286e64f1b7dd60dd4533fda0e2038d0
BLAKE2b-256 50a02231c0d68bcb28d758bf62260ab0275e2e7c4170ef10db6743270d8ebd42

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page