xbudget.presets¶
Load and save xbudget recipes.
A recipe is an ordinary nested dict, so it can be written by hand in YAML or built in Python. These helpers move it between the two, and validate it on the way out — see the recipes guide for the schema.
Functions
|
Loads preset xbudget dictionary from yaml file for supported models. |
|
Loads a yaml file as a Python dictionary. |
|
Write a recipe to a yaml file, after checking that it is valid. |