flambe.runner.utils¶

Module Contents¶

flambe.runner.utils.logger[source]
flambe.runner.utils.MB[source]
flambe.runner.utils.WARN_LIMIT_MB = 100[source]
flambe.runner.utils.get_folder_size_MB(path: str) → float[source]

Return the size of a folder in MB.

Parameters: path (str) – The path to the folder The size in MB float
flambe.runner.utils.check_system_reqs() → None[source]

Run system checks and prepare the system before a run.

This method should:
• Create folders, files that are needed for flambe
• Raise errors in case requirements are not met. This should

run under the SafeExecutionContext, so errors will be handled * Warn the user in case something needs attention.