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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pyviz_comms-0.7.5.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.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for pyviz_comms-0.7.5.tar.gz
Algorithm Hash digest
SHA256 daa758ec7d7b519b0e315757cdedbf4b385600a5bcbb71af66100804b98423c9
MD5 d415001f6ee225109e8ab58be25e1abc
BLAKE2b-256 42d2496e8b179fc4aa2649f3ea52c469595a1801a8745d2bea2f46c4ff38d002

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyviz_comms-0.7.5-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.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for pyviz_comms-0.7.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d0f0c772b00d7d94cdd9734e128f65d984552c11181c0ad478fabd6e10530152
MD5 7c72d89ef94ec7c8065e961ef282c881
BLAKE2b-256 291aecb1f6692d2ac99b3fd778908914fe1eee79c048d83654fbb04027a9606e

See more details on using hashes here.

Provenance

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