griddler¶
Griddles are the main functionality of griddle. Read about the griddle schema to learn more about the format.
Getting started¶
Command-line usage¶
Griddler can be used from the command line with any language. It reads a YAML (or JSON) griddle definition and writes the expanded parameter sets as JSON.
You can install it from GitHub with uv or another git-backed package maanger:
Example usage:
Use the --help flag for more details.
Python API¶
You can also use griddler as a Python package:
You can then generate and manipulate griddles:
import yaml
import griddler
with open("my_griddle.yaml") as f:
raw_griddle = yaml.safe_load(f)
parameter_sets = griddler.parse(raw_griddle)
See the API reference for specifics on griddler's internals.