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.