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

Uploaded Source

Built Distribution

ypywidgets-0.9.7-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ypywidgets-0.9.7.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ypywidgets-0.9.7.tar.gz
Algorithm Hash digest
SHA256 c80d8aa72fd0d1f0880ae66f2b57c311f64ae14a2615d84fbd9fba36628d43d4
MD5 8e6fad16a914376928b5757c05cb8e1f
BLAKE2b-256 4654548106c7c40ddc7f4d74cae984e0dd68d57dabb542e3ed4748021c4ce2a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ypywidgets-0.9.7.tar.gz:

Publisher: publish.yml on QuantStack/ypywidgets

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: ypywidgets-0.9.7-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ypywidgets-0.9.7-py3-none-any.whl
Algorithm Hash digest
SHA256 98afc04ae01db3d924b832199c60db993680786fe63ad9dabcf50698223e127b
MD5 bf20dfde4373091651d4dd409cfb3501
BLAKE2b-256 3a07436016f1d704bde674b44e90d95101c8f8fabcc636294f30b356fc71b097

See more details on using hashes here.

Provenance

The following attestation bundles were made for ypywidgets-0.9.7-py3-none-any.whl:

Publisher: publish.yml on QuantStack/ypywidgets

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page