Skip to main content
Ctrl+K
NumPy v2.2 Manual - Home NumPy v2.2 Manual - Home
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
    • NEPs
dev2.2 (stable)2.12.01.261.251.241.231.221.211.201.191.181.171.161.151.141.13
  • GitHub
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
  • NEPs
dev2.2 (stable)2.12.01.261.251.241.231.221.211.201.191.181.171.161.151.141.13
  • GitHub

Section Navigation

Getting started

  • What is NumPy?
  • Installation
  • NumPy quickstart
  • NumPy: the absolute basics for beginners

Fundamentals and usage

  • NumPy fundamentals
  • NumPy for MATLAB users
  • NumPy tutorials
  • NumPy how-tos

Advanced usage and interoperability

  • Using NumPy C-API
  • F2PY user guide and reference manual
    • 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
  • Under-the-hood documentation for developers
  • Interoperability with NumPy

Extras

  • Glossary
  • Release notes
  • NumPy 2.0 migration guide
  • NumPy license
  • 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-2024, NumPy Developers.

Created using Sphinx 7.2.6.

Built with the PyData Sphinx Theme 0.16.0.