Skip to content

jupyter/nbformat

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 4, 2023 21:07
October 29, 2023 17:53
April 1, 2022 19:00
October 16, 2022 16:40
April 1, 2022 19:00
July 31, 2023 10:35
April 8, 2022 04:38
February 17, 2023 08:18
April 13, 2023 17:49
September 13, 2023 21:04
April 1, 2022 19:00
September 13, 2023 21:04

nbformat: Jupyter Notebook Format

CI Tests

nbformat contains the reference implementation of the Jupyter Notebook format, and Python APIs for working with notebooks.

There is also a JSON Schema for nbformat versions >= 3.

Installation

From the command line:

pip install nbformat

Using a different json schema validator

We use fastjsonschema by default. To use jsonschema instead, set the environment variable NBFORMAT_VALIDATOR to the value jsonschema.

Python Version Support

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 supported Python 3 only. Support for Python 3.x versions will be dropped when they are officially sunset by the python organization.

Contributing

Read CONTRIBUTING.md for guidelines on how to setup a local development environment and make code changes back to nbformat.

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.