Module -> notebook conversion

get_py_files[source]

get_py_files(path)

Get all py files in a direcotry

get_cells_one_nb[source]

get_cells_one_nb(path, file_name)

For py file in path get a return list of strings Each item in list will corrospond to the contents of a cell in a notebook

write_code_cell[source]

write_code_cell(code)

take a piece of code and write it to a code cell

py_to_nb[source]

py_to_nb(py_path, nb_pth)

Write jupyter notebooks based on py files in py_path

cells = get_cells_one_nb(Path('nbdevminimum'),'core.py')