The purpose of theF2PY –Fortran to Python interface generator–is to provide a connection between Python and Fortranlanguages. F2PY is a part ofNumPy (numpy.f2py) and also available as astandalone command line toolf2py whennumpy is installed thatfacilitates creating/building Python C/API extension modules that make itpossible
COMMON blocks and Fortran 90/95 module data,including allocatable arraysfrom Python.