##// END OF EJS Templates
Don't use nbformat.current in nbconvert
Don't use nbformat.current in nbconvert

File last commit:

r18596:2d590459
r18605:9867311c
Show More
__init__.py
19 lines | 555 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_markdown_cell, new_notebook,
new_output, output_from_msg,
)
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