User Documentation

PRIK is the Python Runtime Interop Kit. Use these pages to install PRIK, verify your environment, build Fortran and C wrappers, and understand the behavior of generated Python extensions.

Start Here

  1. Getting Started
  2. User Guide
  3. Design a Pythonic BLAS API
  4. Performance

Getting Started covers installation, environment verification, matched Fortran and C first-function paths, and the beginner edit-build-test loop. The User Guide provides continuous Fortran and C paths plus shared build workflows. The tutorial then shows how to turn a low-level native interface into a small designed API. Performance presents the reproducible PRIK and f2py comparison.

Then

  • Language Support — C and Fortran feature coverage, including the evidence behind each claim.
  • Reference — the exact CLI, Python API, and generated-wrapper surfaces. Start with .pyi Format for the contract language and Editing .pyi Contracts for supported recipes.
  • Examples — five complete Fortran projects (BLAS, LAPACK, FFTPACK, MINPACK, and BSPLINE-FORTRAN) plus the C libm and TA-Lib projects.
  • Troubleshooting — compiler detection, selection, and toolchain problems.
  • FAQ — short answers to common questions.