meta_forest.helpers module

class meta_forest.helpers.Params[source]

Bases: object

Class for data container

meta_forest.helpers.render_to_template(template_file_name, output_file_path, params)[source]

Jinja2 template renderings

Parameters
  • template_file_name (str) – Path of the template file to render

  • output_file_path (str) – Path of the rendered file

  • params (dict) – Parameters to render to the template file

Return type

None

meta_forest.helpers.run_sys_cmd(cmd, cwd=None)[source]

Shell command execution

Parameters
  • cmd (str) – Command to execute in the shell

  • cwd (str) – Shell runtime directory

Return type

None