Skip to content

Hacky little tool to execute jupyter notebooks from python scripts

Notifications You must be signed in to change notification settings

LachlanGray/notebook-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Little thing for getting at stuff inside jupyter notebooks.

Executes the cells of a jupyter notebook in order, skips cells that match any skip patterns, variable states can then be accessed as keys:

nb = Notebook("test_nb.ipynb", skip_patterns=["DontRunThisCell"])

print(nb['x'])

Also runs as a script

python notebook.py test_nb.ipynb --skip DontRunThisCell

About

Hacky little tool to execute jupyter notebooks from python scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published