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 declare 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.8.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

ypywidgets-0.8.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ypywidgets-0.8.0.tar.gz
Algorithm Hash digest
SHA256 310d14b507c2a3a37ed226bf4dfec092a67b87eb17ba316afb45debca21fa968
MD5 b0695107378e8ba34fb466d19810e1e0
BLAKE2b-256 959af568549f9cc7aa0841805678057a69ee116af331e96a60028b3b67c2f17c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ypywidgets-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5793d6217f39681fc21bd68eb00941734a5f3a3fdff9ac6f373db8cab64bc092
MD5 aa4002686d4b080ea81cbf6978e1edb5
BLAKE2b-256 24ae462436423bb725cd3cc210993324215f5a0826ce186da38e322d67e0a235

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