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
        • Three ways to wrap - getting started
        • Using F2PY
        • F2PY examples
      • F2PY reference manual
      • 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 user guide

F2PY user guide#

  • Three ways to wrap - getting started
    • The quick way
    • The smart way
    • The quick and smart way
  • Using F2PY
    • Using f2py as a command-line tool
    • Python module numpy.f2py
    • Building with Meson (Examples)
  • F2PY examples
    • F2PY walkthrough: a basic extension module
    • A filtering example
    • depends keyword example
    • Read more

previous

F2PY user guide and reference manual

next

Three ways to wrap - getting started

© Copyright 2008-2026, NumPy Developers.

Created using Sphinx 7.2.6.

Built with the PyData Sphinx Theme 0.16.1.