dr_data.transplant package

Module contents

class dr_data.transplant.Transplant(configuration)[source]

Bases: object

Insert one or all CSV files to table

execute_directory_cmd(source, schema_data)[source]

Executes the transplant command, main entry point for directory processing :param source: source file to import :type source: str or list :param destination: destination table :type destination: str :return: None :rtype: None

execute_file_cmd(source, destination)[source]

Executes the transplant command, main entry point for file processing :param source: source file to import :type source: str or list :param destination: destination table :type destination: str :return: None :rtype: None