pyviz-comms
A JupyterLab extension for rendering HoloViz content.
Decision gist · record as of 2026-08-14
Yes. Install if you're building or using HoloViz tools in Jupyter, or if you need a straightforward way to add bidirectional Python-JavaScript communication to a Jupyter extension. The package is low-friction, actively maintained, permissively licensed, and has no known vulnerabilities. It's a stable dependency for interactive visualization workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- JupyterLab 3.0+ includes the extension automatically; older JupyterLab versions require separate manual extension installation.
- Low friction: pure Python wheel with a single dependency (param).
- Actively maintained with recent commits and stable status.
License · maintenance · safety
permissive license (permissive) — BSD 3-Clause License permits commercial and private use with minimal restrictions; you must retain copyright notice and disclaimer in distributions.
last release 2025-06-20 (420 days) · last repo commit 2026-08-05 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,343,283 downloads/mo, #3,121 on PyPI
Alternatives
Verify before relying
pip install pyviz_comms
from pyviz_comms import Comm
comm = Comm(target_name='my_target')- Whether the package works with non-Jupyter Python environments or is strictly Jupyter-dependent.
- Performance characteristics or message throughput limits for high-frequency communication scenarios.
- Specific HoloViz tool version requirements beyond the general compatibility table provided.
What it is and what it does
pyviz_comms is a communication bridge for Jupyter environments that allows Python code running in the kernel to exchange messages with JavaScript code in the browser frontend. It abstracts away the complexity of Jupyter's comm protocol, providing a simple API for bidirectional messaging. The package is designed primarily to support HoloViz visualization tools (like HoloViews, Panel, and Datashader) in rendering interactive plots and dashboards, though it can be used by any tool that needs kernel-frontend communication.
The package consists of a Python component and an optional JupyterLab extension. For JupyterLab 3.0 and later, the extension is automatically included when you install the Python package via pip or conda. The package supports modern Python versions (3.8 through 3.11) and is actively maintained with a stable, production-ready status.
Use it for
- Building interactive HoloViz visualizations that respond to user input in Jupyter notebooks and JupyterLab.
- Enabling real-time communication between Python analysis code and browser-based UI components in Panel dashboards.
- Creating custom Jupyter extensions that need to exchange data between kernel and frontend without writing low-level comm protocol code.
- Supporting collaborative visualization tools where Python computations drive live JavaScript rendering.
- Integrating third-party JavaScript libraries with Python-based Jupyter workflows via message passing.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Install if you're building or using HoloViz tools in Jupyter, or if you need a straightforward way to add bidirectional Python-JavaScript communication to a Jupyter extension. The package is low-friction, actively maintained, permissively licensed, and has no known vulnerabilities. It's a stable dependency for interactive visualization workflows.
Install
pyviz-comms on PyPI
Before you install
Low friction: pure Python wheel with a single dependency (param). Actively maintained with recent commits and stable status. Automatically bundled with JupyterLab 3.0+.
JupyterLab 3.0+ includes the extension automatically; older JupyterLab versions require separate manual extension installation.
License in practice
BSD 3-Clause License permits commercial and private use with minimal restrictions; you must retain copyright notice and disclaimer in distributions.
Quickstart
pip install pyviz_comms
from pyviz_comms import Comm
comm = Comm(target_name='my_target')
Verify before relying
- Whether the package works with non-Jupyter Python environments or is strictly Jupyter-dependent.
- Performance characteristics or message throughput limits for high-frequency communication scenarios.
- Specific HoloViz tool version requirements beyond the general compatibility table provided.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageparam |
| Maintenance | Actively maintained 420 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,343,283 / month, #3,121 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: JupyterFramework :: Jupyter :: JupyterLabFramework :: Jupyter :: JupyterLab :: 4Framework :: Jupyter :: JupyterLab :: ExtensionsFramework :: Jupyter :: JupyterLab :: Extensions :: PrebuiltIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Software Development :: Libraries |
Evidence: pyviz_comms-3.0.6-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “jupyter python javascript communication”
- pyviz-commsProvides bidirectional communication between Python and JavaScript in…
- widgetsnbextensionProvides the JavaScript frontend and communication layer that enables…
- jupyter-packagingProvides build tools and utilities for packaging Jupyter Python…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also jupyterlab-chat · comm · nbclassic · jupyter-ai-chat-commands · ipympl · jupyter-nbmodel-client · holoviews · jupyterlab-widgets · jupyterlab_notebook_awareness · jupyter-server-documents