Skip to main content

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

Project description

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

nbclient

NBClient, a client library for programmatic notebook execution, is a tool for running Jupyter Notebooks in different execution contexts. NBClient was spun out of nbconvert's former ExecutePreprocessor.

NBClient lets you execute notebooks.

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.5.4.tar.gz (70.2 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.5.4-py3-none-any.whl (66.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nbclient-0.5.4.tar.gz
  • Upload date:
  • Size: 70.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.8

File hashes

Hashes for nbclient-0.5.4.tar.gz
Algorithm Hash digest
SHA256 6c8ad36a28edad4562580847f9f1636fe5316a51a323ed85a24a4ad37d4aefce
MD5 593579773bd8128f845ea01a46ccbedb
BLAKE2b-256 fcbec61d973ff6a53bfd961e81bfccf38d0bb7612546c247afeb27985430c593

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nbclient-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 66.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.8

File hashes

Hashes for nbclient-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 95a300c6fbe73721736cf13972a46d8d666f78794b832866ed7197a504269e11
MD5 947bd743acb32c8995b7814d2ca20014
BLAKE2b-256 a7edb764fa931614cb7ed9bebbc42532daecef405d6bef660eeda882f6c23b98

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