scverse / prelude-runner

Jupyter notebook runner that executes preludes before each cell

Repository from Github https://github.comscverse/prelude-runnerRepository from Github https://github.comscverse/prelude-runner

PyPI Version Unit Tests

prelude-runner

  1. Create a prelude_cell.py and prelude_notebook.py in a directory.
  2. Running your notebooks with the prelude runner to execute the prelude code before each notebook / cell.
echo 'import random; random.seed(0)' >./config/prelude_cell.py
echo '' >./config/prelude_notebook.py
prelude-runner --preludes=./config ./notebooks

About

Jupyter notebook runner that executes preludes before each cell

License:Apache License 2.0


Languages

Language:Python 91.1%Language:Jupyter Notebook 8.9%