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.9.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.9-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ypywidgets-0.9.9.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.9.tar.gz
Algorithm Hash digest
SHA256 f5cd97154986c39a4fb9406b54af1b94e5e5172621d229a25e2cfaa7735a36b4
MD5 d1ef44dbc2e9b981ee0fd2103726dc85
BLAKE2b-256 8754db900d487a74d847195cf82bce695204cdfb5fbb3d76ca946b82960389f5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ypywidgets-0.9.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 fcf6b4e568e69b6d0fb31a2685489e23225842a9564b39634d1942ad5760be78
MD5 07707a089cf55642f4def6ba46573359
BLAKE2b-256 6c3574504a0bfc4937767da583b9edb9dab0fd5e975f45d2336ba78b4bd47d3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ypywidgets-0.9.9-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