elasticai.hw_measurements#

Subpackages#

Submodules#

Package Contents#

Functions#

get_path_to_project

Function for getting the path to find the project folder structure in application.

init_project_folder

Generating folder structure in first run

API#

elasticai.hw_measurements.get_path_to_project(new_folder: str = '', max_levels: int = 5) str[source]#

Function for getting the path to find the project folder structure in application.

Parameters:
  • new_folder – New folder path

  • max_levels – Max number of levels to get-out for finding pyproject.toml

Returns:

String of absolute path to start the project structure

elasticai.hw_measurements.init_project_folder(new_folder: str = '') None[source]#

Generating folder structure in first run

Parameters:

new_folder – Name of the new folder to create (test case)

Returns:

None