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

Uploaded Source

Built Distribution

ypywidgets-0.6.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ypywidgets-0.6.0.tar.gz
Algorithm Hash digest
SHA256 87cc842ece19817b21a5d1fc3e24fccde9512f8f84c27eadf55c645c88d56c9d
MD5 2215a9bd35fc621ed64eb4acb71b6626
BLAKE2b-256 796477c84505374770638e7bc4220ceaff4aa35534a80c8cc57a3fd96a26b36c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ypywidgets-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e656db41ff5eaa7dea86513084b362c255a7a2b946ffdee290c90988e8db8d84
MD5 f8baec9803ec04d589755178a785b5ec
BLAKE2b-256 564e6c9e52d7c879cc45606551e670673ea69ea16683b8763dc53227fca61601

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