IPython Documentation

Table Of Contents

Previous topic

nbformat.v1.nbbase

Next topic

nbformat.v1.rwbase

This Page

nbformat.v1.nbjson

Module: nbformat.v1.nbjson

Inheritance diagram for IPython.nbformat.v1.nbjson:

System Message: WARNING/2 (/home/roberto/Dropbox/Programming/IPython/MaemoMeeGo/ipython-0.13.1/docs/source/api/generated/IPython.nbformat.v1.nbjson.txt, line None)

Could not execute ‘dot’. Are you sure you have ‘graphviz’ installed?

Read and write notebooks in JSON format.

Authors:

  • Brian Granger

Classes

JSONReader

class IPython.nbformat.v1.nbjson.JSONReader

Bases: IPython.nbformat.v1.rwbase.NotebookReader

__init__()

x.__init__(...) initializes x; see help(type(x)) for signature

read(fp, **kwargs)

Read a notebook from a file like object

reads(s, **kwargs)
to_notebook(d, **kwargs)

Convert from a raw JSON dict to a nested NotebookNode structure.

JSONWriter

class IPython.nbformat.v1.nbjson.JSONWriter

Bases: IPython.nbformat.v1.rwbase.NotebookWriter

__init__()

x.__init__(...) initializes x; see help(type(x)) for signature

write(nb, fp, **kwargs)

Write a notebook to a file like object

writes(nb, **kwargs)