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 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


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

Uploaded Source

Built Distribution

ypywidgets-0.6.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ypywidgets-0.6.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.25.1

File hashes

Hashes for ypywidgets-0.6.3.tar.gz
Algorithm Hash digest
SHA256 723d4430dea7b42aa883d753822bcd4d7d85eead65180efe612c800ae985a7ac
MD5 b86c118493071a14618f9bd754683fa0
BLAKE2b-256 413525abf042d355bb7d7f8fa496cd4cbee6ee82db3d6a1d6a16d285c5ea0357

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ypywidgets-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.25.1

File hashes

Hashes for ypywidgets-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2844b2701dbd349534f0e47cba31bcdda78b548072b10b233b1995b3344614cd
MD5 5ab58f4dca830987b7dba21ee8139366
BLAKE2b-256 00d7904ae9e969535fd25c2593768f3183f35b50f615617dd5786259ae1a26ad

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