fgen.wrapper_building.python_enums_module

fgen.wrapper_building.python_enums_module#

Generation of the Python enums module

This holds the Python equivalent of any enums defined in Fortran.

generate_python_enums_module#

generate_python_enums_module(package)[source]#

Generate the Python enums module

Parameters:

package (fgen.data_models.package.Package) – Package for which to generate the Python enums module

Returns:

str – Python enums module