| Conditions | 2 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | from __future__ import absolute_import, print_function, unicode_literals |
||
| 14 | |||
| 15 | def inspect_ipynb_package(filename, fileobj, *args, **kwargs): |
||
| 16 | notebook = nbformat.read(fileobj, nbformat.NO_CONVERT) |
||
| 17 | summary = notebook['metadata'].get('summary', 'Jupyter Notebook') |
||
| 18 | description = notebook['metadata'].get('description', 'Jupyter Notebook') |
||
| 19 | |||
| 20 | package_data = { |
||
| 21 | 'name': re.sub('\-ipynb$', '', parameterize(os.path.basename(filename))), |
||
| 41 |