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

Uploaded Source

Built Distribution

ypywidgets-0.6.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ypywidgets-0.6.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d077cc0367a757088063385a7dad3b5522d9505da032b505f2ad23622f4ac786
MD5 e44b1b89bc9fd34b792a797e76ed79c0
BLAKE2b-256 8ffe7fdc4a697756f532559aba5fe78646beb270f65cf7fba82dac41b0083dc2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ypywidgets-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 28a38cc49127aabb2b15eb83c37ad9a2be826bd2a0f534586cc510a86a692a72
MD5 2919cd1be1ba36506b9a38020ee984ef
BLAKE2b-256 500c44f28d4fb46b4699922e742c4c5f7ed875cd30aa077a48cbf49a83c00bb9

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