Skip to content

DiTo97/notebook-parametrization

Repository files navigation

A cross-platform example of notebook parametrization in the background with papermill.

setup

git clone https://github.com/DiTo97/notebook-parametrization.git
cd notebook-parametrization
conda create --name=notebook-parametrization python=3.10
conda activate notebook-parametrization
python -m pip install --upgrade pip
python -m pip install -r requirements.txt

usage

.\run_notebook.bat <notebook> <config> [--configdir <configdir>] [--logdir <logdir>] [--background]  # windows
./run_notebook.sh  <notebook> <config> [--configdir <configdir>] [--logdir <logdir>] [--background]  # linux or macOS

example

.\run_notebook.bat notebook.ipynb norway --background  # windows
./run_notebook.sh  notebook.ipynb UK     --background  # linux or macOS

About

A cross-platform example of notebook parametrization in the background

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published