I know of, and have used f2py2e to wrap some old Fortran 77 code, but my understanding is that it does not work with newer Fortran 95 code. I've researched what I should use, and have come across fwrap and G3 f2py, neither of which seem to give any explanation of their current state, or how to use them. I have seen that the version of f2py has the option to use the third generation f2py, but it is commented as being non-functional. Given this, I don't know which project I should use. Which one should I use?
This question has now been cross-posted to (and answered at) Computational Science stack exchange site as Which package should I use to wrap Modern Fortran Code with Python?
ctypes
would be an option? – Horse