Welcome to F2x Documentation!¶
F2x is a Python tool that allows you to take your Fortran code and make it accessible from other languages. Compared to the popular tool f2py it comes with two important differences:
A superior Fortran parser based on the work by the OpenFortranParser
A very flexible code generation backend that uses Jinja2 templates
Requirements¶
F2x currently requires Python 3 to work. It relies on the following pacakges available from PyPI:
Additional requirements for building documentation and running tests exists. Please consult the setup.py for further details. All requirements should be automatically provided during installation of F2x.