Skip to main content

A client library for executing notebooks. Formerly nbconvert's ExecutePreprocessor.

Project description

Binder Build Status Documentation Status image Python 3.7 Python 3.8 Python 3.9 Python 3.10 Code style: black

nbclient

NBClient lets you execute notebooks.

A client library for programmatic notebook execution, NBClient is a tool for running Jupyter Notebooks in different execution contexts, including the command line.

Interactive Demo

To demo NBClient interactively, click this Binder badge to start the demo:

Binder

Installation

In a terminal, run:

python3 -m pip install nbclient

Documentation

See ReadTheDocs for more in-depth details about the project and the API Reference.

Python Version Support

This library currently supports Python 3.6+ versions. As minor Python versions are officially sunset by the Python org, nbclient will similarly drop support in the future.

Origins

This library used to be part of the nbconvert project. NBClient extracted nbconvert's ExecutePreprocessorinto its own library for easier updating and importing by downstream libraries and applications.

Relationship to JupyterClient

NBClient and JupyterClient are distinct projects.

jupyter_client is a client library for the jupyter protocol. Specifically, jupyter_client provides the Python API for starting, managing and communicating with Jupyter kernels.

While, nbclient allows notebooks to be run in different execution contexts.

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

nbclient-0.6.7.tar.gz (78.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nbclient-0.6.7-py3-none-any.whl (71.8 kB view details)

Uploaded Python 3

File details

Details for the file nbclient-0.6.7.tar.gz.

File metadata

  • Download URL: nbclient-0.6.7.tar.gz
  • Upload date:
  • Size: 78.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for nbclient-0.6.7.tar.gz
Algorithm Hash digest
SHA256 3c5a7fc6bb74be7d31edf2817b44501a65caa99e5e56363bc359649b97cd24b9
MD5 3bf274dfce689db331142693e5b55288
BLAKE2b-256 16534f3ce1dc291ff818c10ff1fcec34a9a7eca404a174d6012dd660629d33e9

See more details on using hashes here.

File details

Details for the file nbclient-0.6.7-py3-none-any.whl.

File metadata

  • Download URL: nbclient-0.6.7-py3-none-any.whl
  • Upload date:
  • Size: 71.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for nbclient-0.6.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e32459e7e96783285d1daac92dc2c60ee7b8a82b7cf7d2e55be9d89d7ac463
MD5 8c0ce1fc0955a8ebd28eda2457104b3c
BLAKE2b-256 babfe89f683a24dd76ea2eac195035014529f3db6295f5e2a04ede01f27d0d1b

See more details on using hashes here.

Supported by

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