$npx skillfedfor your agent

jupyter-nbmodel-client

With conditionsPyPI Software DevelopmentReleased Aug 202692.6K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — jupyter_nbmodel_client-1.5.1-py3-none-any.whl
v1.5.1 · released 2026-08-14 · Python >=3.9 · 5 runtime deps: jupyter-ydoc, nbformat, pycrdt, requests, websockets

Yes, if you need to automate or control Jupyter notebooks from Python code. The package is actively maintained, has low install friction, carries a permissive BSD license, and requires only standard dependencies. It is most useful for automation, testing, and integration scenarios where you control or have access to a JupyterLab server. Not suitable if you need to run notebooks in isolation without a live server.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running JupyterLab server with a known token and notebook path; async context manager requires an async-capable Python environment (e.g., IPython or Jupyter console).
  • Low friction install with a pure-Python wheel.
  • Active maintenance as of 2026-08-14 with recent releases.

License · maintenance · safety

permissive license (permissive) — BSD 3-Clause License permits commercial and private use with attribution and liability disclaimer; no restrictions on modification or redistribution.

last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 16 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 92,552 downloads/mo, #13,444 on PyPI

Verify before relying

from jupyter_nbmodel_client import NbModelClient, get_jupyter_notebook_websocket_url

ws_url = get_jupyter_notebook_websocket_url(
    server_url="http://localhost:8888",
    token="MY_TOKEN",
    path="test.ipynb"
)

async with NbModelClient(ws_url) as nbmodel:
    nbmodel.add_code_cell("print('hello world')")
  • Whether the package works with JupyterLab versions other than those shown in examples
  • Performance characteristics when managing many concurrent cells or large notebooks
  • Compatibility with Jupyter Server versions and authentication schemes beyond token-based auth
Same gist for agents: .md · .json

What it is and what it does

Jupyter NbModel Client is a Python library that connects to a live Jupyter notebook server via WebSocket and allows you to programmatically manipulate notebooks—adding cells, executing code, and retrieving outputs—without directly managing a kernel process yourself. It acts as a remote control for notebooks running on a JupyterLab server, useful for automation, testing, or building tools that need to interact with notebooks as live objects.

The library depends on jupyter-ydoc, nbformat, pycrdt, requests, and websockets to handle notebook synchronization, serialization, HTTP setup, and WebSocket communication. It supports both standalone JupyterLab instances and Datalayer collaborative notebook rooms. Execution requires an active JupyterLab server, a valid authentication token, and an async-capable Python environment.

Use it for

  • Automate notebook cell creation and execution in a running JupyterLab instance for testing or batch processing.
  • Build CI/CD pipelines that execute notebook cells and validate outputs without spawning separate kernel processes.
  • Create tools or agents that programmatically generate and run Jupyter notebooks on a remote server.
  • Integrate notebook execution into larger Python applications that need to interact with live Jupyter environments.
  • Test notebook code and visualizations by adding cells, executing them, and capturing results programmatically.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to automate or control Jupyter notebooks from Python code.

The package is actively maintained, has low install friction, carries a permissive BSD license, and requires only standard dependencies. It is most useful for automation, testing, and integration scenarios where you control or have access to a JupyterLab server. Not suitable if you need to run notebooks in isolation without a live server.

Install

jupyter-nbmodel-client on PyPI

Before you install

Low friction install with a pure-Python wheel. Active maintenance as of 2026-08-14 with recent releases. Five runtime dependencies (jupyter-ydoc, nbformat, pycrdt, requests, websockets) are all established packages.

Requires a running JupyterLab server with a known token and notebook path; async context manager requires an async-capable Python environment (e.g., IPython or Jupyter console).

License in practice

BSD 3-Clause License permits commercial and private use with attribution and liability disclaimer; no restrictions on modification or redistribution.

Quickstart

from jupyter_nbmodel_client import NbModelClient, get_jupyter_notebook_websocket_url

ws_url = get_jupyter_notebook_websocket_url(
    server_url="http://localhost:8888",
    token="MY_TOKEN",
    path="test.ipynb"
)

async with NbModelClient(ws_url) as nbmodel:
    nbmodel.add_code_cell("print('hello world')")

Verify before relying

  • Whether the package works with JupyterLab versions other than those shown in examples
  • Performance characteristics when managing many concurrent cells or large notebooks
  • Compatibility with Jupyter Server versions and authentication schemes beyond token-based auth

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
jupyter-ydocnbformatpycrdtrequestswebsockets
MaintenanceActively maintained 0 days since the last release
Last repo commit
First released
Downloads92,552 / month, #13,444 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: JupyterLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 3

Evidence: jupyter_nbmodel_client-1.5.1-py3-none-any.whl

Tags

Capabilities
jupyter notebook automationprogrammatic notebook controljupyter websocket clientnotebook cell executionjupyter notebook scripting
Topics
jupyter-automationnotebook-scripting
PyPI keywords
Jupyter

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 notebook automation”

  • jupyter-nbmodel-clientProgrammatically interact with live Jupyter notebooks over WebSocket,…
  • nbclientnbclient executes Jupyter notebooks programmatically in different…
  • papermillPapermill parameterizes, executes, and analyzes Jupyter Notebooks…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also jupyter-kernel-client · bash_kernel · execnb · nbval · jupyterlite-pyodide-kernel · ipyflow-core · jupyter-mcp-server · nbmake · jupyter-ui-poll · jupyter-mcp-tools