CrocoDash.raw_data_access package#

Subpackages#

Submodules#

CrocoDash.raw_data_access.config module#

CrocoDash.raw_data_access.driver module#

CrocoDash.raw_data_access.utils module#

CrocoDash.raw_data_access.utils.fill_template(template_path, output_path, **kwargs)#

Reads a template file, fills it with the provided arguments, and writes the filled content to a new file.

Parameters:
  • template_path (str) – Path to the template file.

  • output_path (str) – Path to save the filled template.

  • **kwargs – Key-value pairs for substitution in the template.

CrocoDash.raw_data_access.utils.load_config(config_path: str = 'config.json') dict#

Load a JSON config file.

Parameters:

config_path (str, optional) – Path to the JSON config file. Default is “config.json”.

Returns:

The loaded configuration as a dictionary.

Return type:

dict

CrocoDash.raw_data_access.utils.setup_logger(name)#

This function sets up a logger format for the package. It attaches logger output to stdout (if a handler doesn’t already exist) and formats it in a pretty way!

Parameters:

name (str) – The name of the logger.

Returns:

The logger

Return type:

logging.Logger

Module contents#