Programming utilities#

Fortran libraries for error handling, logging, documentation and testing#

assert

A library for the run-time checking of program invariants and for providing diagnostic error output inside pure procedures

GitHub repository

Release license stars forks last-commit issues pulls

Tags: assertions pure-procedure-diagnostic-output

camfort

Light-weight verification and transformation tools for Fortran

GitHub repository

Release license stars forks last-commit issues pulls

Tags: refactoring

convert_FORTRAN_case

Case conversion of files written in fixed form Fortran

GitHub repository

Release license stars forks last-commit issues pulls

Tags: formatter converter

coretran

Core fortran routines and object-oriented classes for sorting, kD-Trees, and other algorithms to handle scientific data and concepts

GitHub repository

Release license stars forks last-commit issues pulls

Tags: dynamic-array formatting debugging error-handling kdtree sorting random binary-search string testing timing

Differentia

Computes derivatives, gradients and Jacobians of Fortran functions/subroutines using forward automatic differentiation.

GitHub repository

Release license stars forks last-commit issues pulls

Tags: automatic-differentiation

Enzyme

High-performance automatic differentiation of LLVM and MLIR with bindings for Fortran and other languages

GitHub repository

Release license stars forks last-commit issues pulls

Tags: automatic-differentiation llvm-flang

erloff

Errors and logging for fortran

GitLab repository

Release license forks issues issues

Tags: error-handling logging

f90wrap

F90 to Python interface generator with derived type support

GitHub repository

Release license stars forks last-commit issues pulls

Tags: interface-generator python

ffmt

Fast, configurable Fortran formatter with support for Fypp, Doxygen, and OpenACC/OpenMP directives

GitHub repository

Release license stars forks last-commit issues pulls

Tags: formatter linter

findent

Indents/beautifies/converts Fortran sources

Repository

license

Tags: formatter converter

FORD

Automatic documentation generator for modern Fortran programs

GitHub repository

Release license stars forks last-commit issues pulls

Tags: documentation

forformat

Fortran indenter and formatter with spacing and case consistency

GitHub repository

Release license stars forks last-commit issues pulls

Tags: findent formatter

Fortitude

A fast Ruff-like linting tool

GitHub repository

Release license stars forks last-commit issues pulls

Tags: linter

fortran-error-handler

Comprehensive error handling framework for Modern Fortran

GitHub repository

Release license stars forks last-commit issues pulls

Tags: error-handling logging fpm

fortran-shlex

Modern Fortran port of Python's shlex shell-like lexer, with Windows mslex support

GitHub repository

Release license stars forks last-commit issues pulls

Tags: command-line tokenizer quoting posix mslex

FortranCallGraph

Static source code analysis tool for Fortran

GitHub repository

Release license stars forks last-commit issues pulls

fortyxima

File system manipulation and unit testing framework

Repository

license

Tags: posix

fparser

Fortran parser written purely in Python which supports Fortran 2003 and some Fortran 2008

GitHub repository

Release license stars forks last-commit issues pulls

Tags: parser

fpm

Fortran Package Manager

GitHub repository

Release license stars forks last-commit issues pulls

Tags: build-system package-manager

fprettify

auto-formatter for modern fortran source code

GitHub repository

Release license stars forks last-commit issues pulls

Tags: formatter

Futility

Fortran utilities including unit test harness, arbitrary length strings, parameter list objects, timers, geometry definitions, file wrappers, linear algebra tools, and parallel computing support

Repository

license

fypp

Python powered Fortran preprocessor

GitHub repository

Release license stars forks last-commit issues pulls

Tags: metaprogramming

fytest

a lightweight unit testing framework for Fortran

Repository

license

Tags: testing

hipfort

Fortran interfaces for ROCm libraries

GitHub repository

Release license stars forks last-commit issues pulls

Tags: hip rocm

julienne

A correctness-checking framework supporting natural-language idioms for unit testing and assertions; also facilitating formatted diagnostic output during error termination in pure procedures

GitHub repository

Release license stars forks last-commit issues pulls

Tags: testing assertions

pFUnit

Parallel Fortran Unit Testing Framework

GitHub repository

Release license stars forks last-commit issues pulls

Tags: testing

PSyclone

Domain-specific compiler and code transformation system for Finite Difference/Volume/Element Earth-system models in Fortran

GitHub repository

Release license stars forks last-commit issues pulls

Tags: formatter compiler transformer finite-difference finite-volume finite-element

setup-fortran

GitHub action to setup Fortran compiler and toolchain

GitHub repository

Release license stars forks last-commit issues pulls

Tags: continuous-integration

shroud

generate Fortran and Python wrappers for C and C++ libraries

GitHub repository

Release license stars forks last-commit issues pulls

Tags: interface-generator cpp

SWIG-Fortran

SWIG for C++ to Fortran interface generation

GitHub repository

Release license stars forks last-commit issues pulls

Tags: interface-generator cpp

Tapenade

A tool for automatic differentiation (forward/reverse) of Fortran and C programs

Repository

license

Tags: automatic-differentiation

test-drive

The simple testing framework

GitHub repository

Release license stars forks last-commit issues pulls

Tags: testing

tree-sitter-fortran

Fortran 90 grammar for the Tree-sitter language parsing framework

GitHub repository

Release license stars forks last-commit issues pulls

Tags: parser

vegetables

A Fortran testing framework written using functional programming principles.

GitLab repository

Release license forks issues issues

Tags: testing assertions

See package index guidelines for how to get your project listed.