##// END OF EJS Templates
Merge pull request #6045 from minrk/nbformat4...
Merge pull request #6045 from minrk/nbformat4 nbformat v4

File last commit:

r18606:776d1fa8
r18617:482c7bd6 merge
Show More
__init__.py
19 lines | 468 B | text/x-python | PythonLexer
"""The main API for the v4 notebook format."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from .nbbase import (
nbformat, nbformat_minor, nbformat_schema,
new_code_cell, new_markdown_cell, new_notebook,
new_output, output_from_msg,
)
from .nbjson import reads, writes, to_notebook
reads_json = reads
writes_json = writes
to_notebook_json = to_notebook
from .convert import downgrade, upgrade