IPython Documentation

Table Of Contents

Previous topic

Module: nbformat.v3.nbbase

Next topic

Module: nbformat.v3.nbpy

This Page

Note

This documentation is for a development version of IPython. There may be significant differences from the latest stable release (1.2.1).

Module: nbformat.v3.nbjson

Read and write notebooks in JSON format.

Authors:

  • Brian Granger

3 Classes

class IPython.nbformat.v3.nbjson.BytesEncoder(skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, encoding='utf-8', default=None)

Bases: json.encoder.JSONEncoder

A JSON encoder that accepts b64 (and other ascii) bytestrings.

class IPython.nbformat.v3.nbjson.JSONReader

Bases: IPython.nbformat.v3.rwbase.NotebookReader

class IPython.nbformat.v3.nbjson.JSONWriter

Bases: IPython.nbformat.v3.rwbase.NotebookWriter