nbformat
contains the reference implementation of the Jupyter Notebook format,
and Python APIs for working with notebooks.
There is also a JSON schema for notebook format versions >= 3.
From the command line:
pip install nbformat
This library supported python 2.7 and python 3.5+ for 4.x.x
releases. With python 2's end-of-life nbformat 5.x.x
is now python 3.5+ only. Support for 3.5 will be dropped when it's officially sunset by the python organization.
Read CONTRIBUTING.md for guidelines on how to setup a local development environment and make code changes back to nbformat.