__init__.py 868 B

1234567891011121314151617181920212223
  1. """The main module for the v1 notebook format."""
  2. #-----------------------------------------------------------------------------
  3. # Copyright (C) 2008-2011 The IPython Development Team
  4. #
  5. # Distributed under the terms of the BSD License. The full license is in
  6. # the file COPYING, distributed as part of this software.
  7. #-----------------------------------------------------------------------------
  8. #-----------------------------------------------------------------------------
  9. # Imports
  10. #-----------------------------------------------------------------------------
  11. from .nbbase import (
  12. NotebookNode,
  13. new_code_cell, new_text_cell, new_notebook
  14. )
  15. from .nbjson import reads as reads_json, writes as writes_json
  16. from .nbjson import reads as read_json, writes as write_json
  17. from .nbjson import to_notebook as to_notebook_json
  18. from .convert import upgrade