##// END OF EJS Templates
update nbconvert to nbformat 4
update nbconvert to nbformat 4

File last commit:

r18579:bd730f70
r18580:ba8461eb
Show More
__init__.py
19 lines | 556 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 (
NotebookNode, from_dict,
nbformat, nbformat_minor, nbformat_schema,
new_code_cell, new_heading_cell, new_markdown_cell, new_notebook,
new_output,
)
from .nbjson import reads as reads_json, writes as writes_json
from .nbjson import reads as read_json, writes as write_json
from .nbjson import to_notebook as to_notebook_json
from .convert import downgrade, upgrade