4.13. project_dicts module

class project_dicts.InputFileDict(input_dict)[source]

Bases: object

The InputFileDict class object contains a dictionary of the data provided via the input files for use throughout the tool.

create_project_dict(input_df, *args)[source]
Parameters:

input_df: DataFrame; contains data from the applicable input file.

args: String(s); attributes to include in the returned dictionary key.

Returns:

The passed DataFrame as a dictionary with keys consisting of the passed args.

get_attribute_value(key, attribute)[source]
Parameters:

key: Tuple; the key of the dictionary instance.

attribute: String; represents the attribute to be updated.

Returns:

The value of ‘attribute’ within the dictionary instance.