Skip to content

templates

Easyconfig templates module that provides templating that can be used within an Easyconfig file.

Authors:

  • Stijn De Weirdt (Ghent University)
  • Fotis Georgatos (Uni.Lu, NTUA)
  • Kenneth Hoste (Ghent University)

template_constant_dict(config, ignore=None, skip_lower=None, toolchain=None)

Create a dict for templating the values in the easyconfigs. - config is a dict with the structure of EasyConfig._config

template_documentation()

Generate the templating documentation

to_template_str(key, value, templ_const, templ_val)

Insert template values where possible

PARAMETER DESCRIPTION
key

name of easyconfig parameter

value

string representing easyconfig parameter value

templ_const

dictionary of template strings (constants)

templ_val

(ordered) dictionary of template strings specific for this easyconfig file