utils ===== .. py:module:: utils Functions --------- .. autoapisummary:: utils.load_config_file utils.load_json_as_list utils.create_directory_for_file utils.create_logger_file utils.create_logger Module Contents --------------- .. py:function:: load_config_file(path: str) -> dict Load a JSON configuration file from the specified path and return it as a dictionary. .. py:function:: load_json_as_list(input_file: str) -> list Load a JSON file as a list of dictionaries. .. py:function:: create_directory_for_file(file_path) -> None Create the directory for the specified file path if it does not already exist. .. py:function:: create_logger_file(log_path) .. py:function:: create_logger(name, silent=False, to_disk=False, log_file=None) Create a new logger