An open API service indexing awesome lists of open source software.

https://github.com/dito97/notebook-parametrization

A cross-platform example of notebook parametrization in the background
https://github.com/dito97/notebook-parametrization

jupyter-notebooks parametrization pipeline

Last synced: 3 months ago
JSON representation

A cross-platform example of notebook parametrization in the background

Awesome Lists containing this project

README

          

#

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

## setup

```sh
git clone https://github.com/DiTo97/notebook-parametrization.git
cd notebook-parametrization
```

```sh
conda create --name=notebook-parametrization python=3.10
conda activate notebook-parametrization
```

```sh
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
```

## usage

```sh
.\run_notebook.bat [--configdir ] [--logdir ] [--background] # windows
```

```sh
./run_notebook.sh [--configdir ] [--logdir ] [--background] # linux or macOS
```

## example

```sh
.\run_notebook.bat notebook.ipynb norway --background # windows
```

```sh
./run_notebook.sh notebook.ipynb UK --background # linux or macOS
```