Skip to main content
Ctrl+K
NumPy v2.5.dev0 Manual - Home NumPy v2.5.dev0 Manual - Home
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
    • NEPs
  • GitHub
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
  • NEPs
  • GitHub

Section Navigation

  • NumPy’s module structure
    • numpy.exceptions
    • numpy.fft
    • numpy.linalg
    • numpy.polynomial
    • numpy.random
    • numpy.strings
    • numpy.testing
    • numpy.typing
    • numpy.ctypeslib
    • numpy.dtypes
    • numpy.emath
    • numpy.lib
    • numpy.rec
    • numpy.version
    • numpy.char
    • numpy.f2py
      • F2PY user guide
      • F2PY reference manual
        • Signature file
        • Using F2PY bindings in Python
        • F2PY and build systems
        • Advanced F2PY use cases
        • Boilerplate reduction and templating
        • F2PY test suite
      • F2PY and Windows
      • 1 Migrating to meson
    • numpy.ma
    • numpy.matlib
  • Array objects
  • Universal functions (ufunc)
  • Routines and objects by topic
  • Typing (numpy.typing)
  • NumPy C-API
  • Array API standard compatibility
  • CPU/SIMD optimizations
  • Thread Safety
  • Global Configuration Options
  • NumPy security
  • Testing guidelines
  • Status of numpy.distutils and migration advice
  • NumPy and SWIG
  • NumPy user guide
  • F2PY user guide and reference manual
  • F2PY reference manual

F2PY reference manual#

  • Signature file
    • Signature files syntax
  • Using F2PY bindings in Python
    • Fortran type objects
    • Scalar arguments
    • String arguments
    • Array arguments
    • Call-back arguments
    • Common blocks
    • Fortran 90 module data
    • Allocatable arrays
  • F2PY and build systems
    • Basic concepts
    • Build systems
  • Advanced F2PY use cases
    • Adding user-defined functions to F2PY generated modules
    • Adding user-defined variables
    • Dealing with KIND specifiers
    • Character strings
  • Boilerplate reduction and templating
    • Using FYPP for binding generic interfaces
  • F2PY test suite
    • Adding a test

previous

F2PY examples

next

Signature file

© Copyright 2008-2026, NumPy Developers.

Created using Sphinx 7.2.6.

Built with the PyData Sphinx Theme 0.16.1.