StepUp Notebook: Jupyter Notebooks as Build Steps¶
StepUp Notebook runs Jupyter notebooks as build steps in StepUp Core, a universal dynamic build tool. Notebooks can be executed with parameters and converted to HTML. A notebook can also declare its own inputs and outputs, so that StepUp reruns it only when its dependencies have changed. StepUp Notebook is part of Reproducible Reporting.
StepUp Notebook is in early development, and its API may still change.
For production use, stay with StepUp RepRep 4.2 until StepUp Notebook 4.3 is released.
A minimal plan.py executes a notebook and converts it to HTML:
#!/usr/bin/env python3
from stepup.core.api import static
from stepup.notebook.api import convert_jupyter
static("analysis.ipynb")
convert_jupyter("analysis.ipynb")
See Installation to get started, and Usage for parameters, inputs and outputs, and timeouts.