Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/nbformat/v1/__init__.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-06-03 06:10 +0000

1"""The main module for the v1 notebook format.""" 

2 

3# ----------------------------------------------------------------------------- 

4# Copyright (C) 2008-2011 The IPython Development Team 

5# 

6# Distributed under the terms of the BSD License. The full license is in 

7# the file LICENSE, distributed as part of this software. 

8# ----------------------------------------------------------------------------- 

9 

10# ----------------------------------------------------------------------------- 

11# Imports 

12# ----------------------------------------------------------------------------- 

13 

14from .convert import upgrade 

15from .nbbase import NotebookNode, new_code_cell, new_notebook, new_text_cell 

16from .nbjson import reads as read_json 

17from .nbjson import reads as reads_json 

18from .nbjson import to_notebook as to_notebook_json 

19from .nbjson import writes as write_json 

20from .nbjson import writes as writes_json