Projects / F2PY

F2PY

f2py is a command line tool for binding Python and Fortran code. It scans Fortran 77/90/95 code and generates a Python C/API module that makes it possible to call Fortran routines and to access Fortran data (COMMON blocks and Module data) from Python. No Fortran or C expertise is required for using this tool.

Tags
Licenses
Operating Systems
Implementation

RSS Recent releases

Release Notes: This release has new statements (usercode and pymethoddef), support for character arrays and arrays of strings, a new function as_column_major_storage(), a new macro F2PY_REPORT_ON_ARRAY_COPY, numarray support, improved support for Win32 and Mac OS X platforms, support for more than 13 Fortran compilers, and bugfixes.

  •  08 Dec 2002 13:22

Release Notes: The issue with Fortran and C multi-dimensional array storage ordering is finally resolved. F2PY generated wrappers automatically carry out all necessary transformations, trying hard to minimize any performance hits. As a result, multi-dimensional arrays in Python and Fortran have now exactly the same signatures. The F2PY Users Guide has been throughly revised to describe and illustrate all latest F2PY features such as wrapping Fortran 77 COMMON blocks, Fortran 90 module data, including Fortran 90 module ALLOCATABLE arrays, etc.

  •  17 Aug 2001 19:23

Release Notes: An update to work witn Numeric Python 20.x.

  •  30 Jan 2001 06:12

    Release Notes: Initial freshmeat announcement.

    Screenshot

    Project Spotlight

    wasora

    AN advanced suite for optimization and reactor analysis.

    Screenshot

    Project Spotlight

    finit

    A small SysV init replacement with process supervision.