Skip to content

gtmaskall/jnp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jnp

Jupyter notebook processing

Adding table of contents

from jnp.notebook import Notebook

notebooks = ['notebook1.ipynb', 'notebook2.ipynb']

start_at = 1
for nb in notebooks:
    book = Notebook(nb, num_start_at=start_at)
    book.number_headings_all()
    book.insert_contents()
    book.write(nb) #will overwrite notebook!

About

Jupyter notebook processing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages