$npx skillfedfor your agent

execnb

A description of your project

With conditionsPyPI Software DevelopmentReleased Aug 2026103.2K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — execnb-0.3.2-py3-none-any.whl
v0.3.2 · released 2026-08-10 · Python >=3.7 · 2 runtime deps: fastcore, ipython

Yes, if you need to execute notebooks programmatically or in automation. The low install friction, active maintenance, permissive license, and lack of known vulnerabilities make it a safe choice. Pre-alpha status means the API may change, so pin the version if stability is critical.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or later; async API requires either an async context (notebook/async code) or wrapping in asyncio.run() at sync entry points.
  • Low install friction with only two runtime dependencies (fastcore and ipython).
  • Active maintenance with a recent release (4 days ago) and steady repository activity.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects.

last release 2026-08-10 (4 days) · last repo commit 2026-08-10 · 137 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 103,231 downloads/mo, #12,820 on PyPI

Verify before relying

pip install execnb

from execnb.shell import CaptureShell
import asyncio

s = CaptureShell()
result = asyncio.run(s.run('1+1'))
print(result)
  • Whether CaptureShell handles all Jupyter magic commands and cell types correctly.
  • Performance characteristics when executing large or long-running notebooks.
  • Compatibility with specific notebook features (widgets, display objects, etc.).
Same gist for agents: .md · .json

What it is and what it does

Execnb is a library for executing Jupyter notebook code outside a running Jupyter server. It provides CaptureShell, an async interface that runs notebook cells and captures their outputs in the standard Jupyter output format, without requiring Jupyter to be installed or running. This is useful for automating notebook execution, batch processing, or integrating notebook code into larger applications.

The package depends on fastcore and ipython, and offers both a programmatic async API and a command-line tool (exec_nb) for executing and saving notebooks with outputs. It's in pre-alpha status but actively maintained, with support for modern Python versions.

Use it for

  • Batch execute multiple notebooks and save results with outputs filled in.
  • Integrate notebook execution into CI/CD pipelines or automated testing workflows.
  • Run notebook code from a regular Python script or application without a Jupyter server.
  • Programmatically inject code into notebooks before execution for parameterization.
  • Generate documentation by executing and capturing outputs from example notebooks.

Worth the install?

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

With conditions

Yes, if you need to execute notebooks programmatically or in automation.

The low install friction, active maintenance, permissive license, and lack of known vulnerabilities make it a safe choice. Pre-alpha status means the API may change, so pin the version if stability is critical.

Install

execnb on PyPI

Before you install

Low install friction with only two runtime dependencies (fastcore and ipython). Active maintenance with a recent release (4 days ago) and steady repository activity.

Requires Python 3.7 or later; async API requires either an async context (notebook/async code) or wrapping in asyncio.run() at sync entry points.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects.

Quickstart

pip install execnb

from execnb.shell import CaptureShell
import asyncio

s = CaptureShell()
result = asyncio.run(s.run('1+1'))
print(result)

Verify before relying

  • Whether CaptureShell handles all Jupyter magic commands and cell types correctly.
  • Performance characteristics when executing large or long-running notebooks.
  • Compatibility with specific notebook features (widgets, display objects, etc.).

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
fastcoreipython
MaintenanceActively maintained 4 days since the last release
Last repo commit
First released
Downloads103,231 / month, #12,820 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: Only

Evidence: execnb-0.3.2-py3-none-any.whl

Tags

Capabilities
run jupyter notebooks without serverexecute notebook cells programmaticallycapture notebook output asyncnotebook execution engineautomated notebook runnerjupyter code execution librarynotebook batch processing
Topics
notebook-executionjupyter-automationasync-api
PyPI keywords
somekeywords

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 › “run jupyter notebooks without server”

  • execnbExecutes Jupyter notebook code and captures outputs without running a…
  • jupyter-mcp-serverAn MCP server that exposes Jupyter notebooks and code execution to AI…
  • jupyter-nbmodel-clientProgrammatically interact with live Jupyter notebooks over WebSocket,…

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 nbdev · nb-clean · nbmake · jupyter-nbmodel-client · nbval · papermill · nbclient · jupyter-cache · jupyter-ui-poll · wurlitzer