| title | User Guide |
|---|---|
| description | Detailed guides for wrapping Fortran code with prik |
| audience | users |
| prerequisites | getting started |
| related | data-types.md |
| status | maintained |
| publication | reviewed |
This section continues the Getting Started workflow. Read it in sidebar order to move from basic values and procedures to objects, storage, and advanced runtime behavior.
- Data Types — Fortran types, semantic
.pyinames, exact NumPy dtypes, strings, and arrays - Arrays — Rank, shape, strides, contiguity, and layout rules
- Strings — Immutable text, mutable byte storage, and string arrays
- Wrapping Functions
- Wrapping Subroutines
- Wrapping Modules
- Optional Arguments
- Generic Interfaces
- Wrapping Derived Types
- Callbacks
- Enumerations
- Raw Addresses — Advanced primitive, array, and fixed-string address boundaries
- Error Handling
Important Note
The recommended workflow starts from Fortran source. The generated semantic
.pyi file describes the Python interface and native call. Editing that file
lets you customize the wrapper without changing the native implementation.
This guide introduces useful edits on the pages where they matter. The
editing reference collects
the complete rules in one place.
Start with Data Types.