nbtoolbelt (version 2024.7.2) provides tools to work with Jupyter notebooks programmatically. It supports tasks like merging, splitting, executing, and converting notebooks. Released as a companion to jupyter-releaser, with regular updates.
pip install nbtoolbeltVerified import paths — ran on the pinned version, not inferred.
Load a Jupyter notebook and print the source of the first cell.
Pin to a specific major version range in requirements.txt.
Wrap in try/except or validate JSON beforehand.
Migrate to nbtoolbelt's Notebook API.
No dependency data recorded yet.