p2pfl.management.launch_from_yaml moduleΒΆ

Launch from YAMLs.

p2pfl.management.launch_from_yaml.load_by_package_and_name(package_name, class_name)[source]ΒΆ

Load a class by package and name.

Parameters:
  • package_name – The package name.

  • class_name – The class name.

Return type:

Any

p2pfl.management.launch_from_yaml.run_from_yaml(yaml_path, debug=False)[source]ΒΆ

Run a simulation from a YAML file.

Parameters:
  • yaml_path (str) – The path to the YAML file.

  • debug (bool) – If True, enable debug mode.

Return type:

None