Skip to main content

Y-based Jupyter widgets for Python

Project description

Build Status Code Coverage

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

Uploaded Source

Built Distribution

ypywidgets-0.9.4-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ypywidgets-0.9.4.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ypywidgets-0.9.4.tar.gz
Algorithm Hash digest
SHA256 78ee67a034fa7131197a5e42ba86c9e9428767a4176dc10e5cf6e4d409132c1e
MD5 61ae51593ec2ee151f5729c955050265
BLAKE2b-256 61b5659177b24aaa58aaa539a420066a523c2a3413b19e48e3103bd9a36ec8cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ypywidgets-0.9.4-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ypywidgets-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 50b963b4966a0bf9383904f59ba39b0b47494c687d5f1426dc03ee686f578fd0
MD5 8c213d5474b69f3cb09b922efcbfe643
BLAKE2b-256 5281312f6edd8133c9399b89ef286cbef4069e0329b3460fce80baa3859d06b0

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