rxn.utilities.attrs

Helper functions for handling classes defined with the package attrs.

Functions

get_class_attributes(cls)

Return the attributes of a class declared with the attrs library.

get_variables(cls)

Return the names of the variables for a class declared with the attrs library.

get_variables_and_type_names(cls)

Return the names of the variables and corresponding type names for a class declared with the attrs library.

get_variables_and_types(cls)

Return the names of the variables and corresponding types for a class declared with the attrs library.