nb_runner¶
Jupyter notebook runner
From /dls_sw/i16/software/python/jupyter_processor/jproc.py
add_inpath(nb, filename)
¶
Add inpath=filename to top of notebook
Source code in mmg_toolbox/utils/nb_runner.py
generate_notebook_html(nb)
¶
Generate html of the notebook without running it return (html, resources)
html_processor(nb)
¶
Process notebook and return (html, resources)
Source code in mmg_toolbox/utils/nb_runner.py
process_template(template, nexus_filename, output_folder=None)
¶
Process jupyter notebook
Source code in mmg_toolbox/utils/nb_runner.py
reprocess_notebook(notebook_filename, output_folder=None)
¶
Copy notebook and open jupyter for reprocessing of copied notebook in processing directory
Source code in mmg_toolbox/utils/nb_runner.py
run_jupyter_notebook(notebook_filename)
¶
view_jupyter_notebook(notebook_filename)
¶
Open a jupyter notebook.ipynb or .html file
Source code in mmg_toolbox/utils/nb_runner.py
view_notebook_html(notebook_filename)
¶
Convert a notebook to html and open it in a web-browser