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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ypywidgets-0.9.8-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ypywidgets-0.9.8.tar.gz
Algorithm Hash digest
SHA256 f8638cac83dc417a92887152af2c68cf136f27ca2dbd3b95a26619eec4f85825
MD5 e32e4b3d8d5ea65f487d82d933d017f8
BLAKE2b-256 72a35538498d516b228dc82fed98038bb0ec43573c99effd058208a59cccf194

See more details on using hashes here.

Provenance

The following attestation bundles were made for ypywidgets-0.9.8.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.8-py3-none-any.whl.

File metadata

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

File hashes

Hashes for ypywidgets-0.9.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a5f70638b419b584f607aa5cd96b90a9d0d160f101c79bd80ed1aba1dd55f7e6
MD5 5cf2d952177c8e01e00890b77f9dacdf
BLAKE2b-256 722cded2c7a748e623d30f57b650edfc74102a77a0670fe727fda0a6827a34f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ypywidgets-0.9.8-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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page