Skip to main content

Bidirectional communication for the PyViz ecosystem.

Project description

pyviz_comms

Offers a simple bidirectional communication architecture between Python and JavaScript, with support for Jupyter comms in both the classic notebook and Jupyterlab. Available for use by any PyViz tool, but currently primarily used by HoloViz tools.

There are two installable components in this repository: a Python component used by various HoloViz tools and an extension to enable Jupyterlab support.

Installing the Jupyterlab extension

Jupyterlab users will need to install the Jupyterlab pyviz extension:

jupyter labextension install @pyviz/jupyterlab_pyviz

Compatibility

The Holoviz libraries are generally version independent of JupyterLab and the jupyterlab_pyviz extension has been supported since holoviews 1.10.0 and the first release of pyviz_comms.

Our goal is that jupyterlab_pyviz minor releases (using the SemVer pattern) are made to follow JupyterLab minor release bumps and micro releases are for new jupyterlab_pyviz features or bug fix releases. We've been previously inconsistent with having the extension release minor version bumps track that of JupyterLab, so users seeking to find extension releases that are compatible with their JupyterLab installation may refer to the below table.

Compatible JupyterLab and jupyterlab_pyviz versions
JupyterLab jupyterlab_pyviz
0.33.x 0.6.0
0.34.x 0.6.1-0.6.2
0.35.x 0.6.3-0.7.2
1.0.x 0.8.0
2.0.x 0.9.0-1.0.3

Developing the Jupyterlab extension

For a development install (requires npm version 4 or later), do the following in the repository directory:

npm install
jupyter labextension link .

To rebuild the package and the JupyterLab app:

npm run build
jupyter lab build

The pyviz_comms Python package

The pyviz_comms Python package is used by holoviz projects and can be pip and conda installed.

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

pyviz_comms-0.7.6.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

pyviz_comms-0.7.6-py2.py3-none-any.whl (10.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyviz_comms-0.7.6.tar.gz.

File metadata

  • Download URL: pyviz_comms-0.7.6.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

File hashes

Hashes for pyviz_comms-0.7.6.tar.gz
Algorithm Hash digest
SHA256 cd9649a9ea9dfcb9b34d78f9a64e1870aa8b6b94de546e2c99c6bb53d64ab5d1
MD5 8128ae7ae3495c46cc83a3c758b57b62
BLAKE2b-256 3f261ff200993888bfa9faf173bc008e5e81390b2058386a7b192dabf0b3eb6e

See more details on using hashes here.

File details

Details for the file pyviz_comms-0.7.6-py2.py3-none-any.whl.

File metadata

  • Download URL: pyviz_comms-0.7.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

File hashes

Hashes for pyviz_comms-0.7.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 34061314830765a14fe2f445b83b83021d2a1207eccbecc8835c3219a72b6ba5
MD5 57c0e64fb40b83d1bf881de15f930033
BLAKE2b-256 036344ba2e156c33a8693e7d256dc48a03de604f7319b21e08aa2de3e97a2681

See more details on using hashes here.

Supported by

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