IPython Documentation

Table Of Contents

Previous topic

Module: nbformat.v2.nbbase

Next topic

Module: nbformat.v2.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.v2.nbjson

Read and write notebooks in JSON format.

Authors:

  • Brian Granger

3 Classes

class IPython.nbformat.v2.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.v2.nbjson.JSONReader

Bases: IPython.nbformat.v2.rwbase.NotebookReader

class IPython.nbformat.v2.nbjson.JSONWriter

Bases: IPython.nbformat.v2.rwbase.NotebookWriter