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

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

8 statements  

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# ----------------------------------------------------------------------------- 

13from __future__ import annotations 

14 

15from .convert import upgrade 

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

17from .nbjson import reads as read_json 

18from .nbjson import reads as reads_json 

19from .nbjson import to_notebook as to_notebook_json 

20from .nbjson import writes as write_json 

21from .nbjson import writes as writes_json