pyapacheatlas.readers.excel.ExcelReader#
- class pyapacheatlas.readers.excel.ExcelReader(configuration, guid=- 1000)#
Read in Excel files that follow the excel template tab structure. Expects an
ExcelConfiguration
object to determine the naming conventions of tabs and headers.- __init__(configuration, guid=- 1000)#
Creates the base Reader with functionality that supports python dicts.
- Parameters
configuration (
ReaderConfiguration
) – A list of dicts containing at least Entity TypeName and nameguid (int) – A negative integer to use as the starting counter for entities created by this reader.
Methods
__init__
(configuration[, guid])Creates the base Reader with functionality that supports python dicts.
make_template
(filepath, **kwargs)Generate an Excel template file and write it out to the given filepath.
parse_bulk_entities
(filepath[, contacts_func])Generate a set of entities from an excel template file.
parse_classification_defs
(filepath)Read a given excel file that conforms to the excel atlas template and parse the (default) ClassificationDefs tab into classifications.
parse_column_mapping
(filepath)Read a given excel file that conforms to the excel atlas template and parse the (default) ColumnMapping tab into existing process entities.
parse_entity_defs
(filepath)Read a given excel file that conforms to the excel atlas template and parse the type def tab(s) into a set of entity defs that can be uploaded.
parse_finegrain_column_lineage
(filepath, …)Read a given excel file that conforms to the excel atlas template and parse the columns into column lineages.
Read a given excel file that conforms to the excel atlas template and parse the tables, processes, and columns into table and column lineages.
parse_table_lineage
(filepath)Read a given excel file that conforms to the excel atlas template and parse the tables and processes table lineages.
parse_update_lineage
(filepath)Read a given excel file that conforms to the excel atlas template and parse the (default) UpdateLineage table into existing process entities.
parse_update_lineage_with_mappings
(filepath)Read a given excel file that conforms to the excel atlas template and parse the (default) UpdateLineage and ColumnMapping tabs into existing process entities.
Attributes
TEMPLATE_HEADERS