Interfacing Fortran with Python in 2025

However, in retrospect I think it may not be a bad idea to wrap a Fortran shared object using cffi, as it may provide a more native interface (lower level) with python.