A client library for executing notebooks. Formerly nbconvert's ExecutePreprocessor.
Project description
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:
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 ExecutePreprocessor
into 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.
About the Jupyter Development Team
The Jupyter Development Team is the set of all contributors to the Jupyter project. This includes all of the Jupyter subprojects.
The core team that coordinates development on GitHub can be found here: https://github.com/jupyter/.
Our Copyright Policy
Jupyter uses a shared copyright model. Each contributor maintains copyright over their contributions to Jupyter. But, it is important to note that these contributions are typically only changes to the repositories. Thus, the Jupyter source code, in its entirety is not the copyright of any single person or institution. Instead, it is the collective copyright of the entire Jupyter Development Team. If individual contributors want to maintain a record of what changes/contributions they have specific copyright on, they should indicate their copyright in the commit message of the change, when they commit the change to one of the Jupyter repositories.
With this in mind, the following banner should be used in any source code file to indicate the copyright and license terms:
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nbclient-0.10.0.tar.gz
.
File metadata
- Download URL: nbclient-0.10.0.tar.gz
- Upload date:
- Size: 62.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09 |
|
MD5 | 373b2528c064d11ce706d5ff202ae697 |
|
BLAKE2b-256 | e2d239bc36604f24bccd44d374ac34769bc58c53a1da5acd1e83f0165aa4940e |
File details
Details for the file nbclient-0.10.0-py3-none-any.whl
.
File metadata
- Download URL: nbclient-0.10.0-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f13e3529332a1f1f81d82a53210322476a168bb7090a0289c795fe9cc11c9d3f |
|
MD5 | 97cc882f5f19c8b65860777566e420f2 |
|
BLAKE2b-256 | 66e800517a23d3eeaed0513e718fbc94aab26eaa1758f5690fc8578839791c79 |