# Install fypp with Homebrew, apt, Nix

Python powered Fortran preprocessor. Version 3.2 via Homebrew; verified 2026-06-13.

## Install

```sh
sudo av install brew:fypp
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fypp
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install fypp
```

  Evidence: Debian stable package indexes: fypp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#fypp
```

  Evidence: nixpkgs package indexes: pkgs/by-name/fy/fypp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:fypp
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/fypp>
- **Version:** 3.2
- **Source summary:** Python powered Fortran preprocessor
- **Homepage:** <https://fypp.readthedocs.io/en/stable/>
- **Repository:** <https://github.com/aradi/fypp>
- **Upstream docs:** <https://fypp.readthedocs.io/en/stable>
- **License:** BSD-2-Clause
- **Source archive:** <https://files.pythonhosted.org/packages/01/35/0e2dfffc90201f17436d3416f8d5c8b00e2187e410ec899bb62cf2cea59b/fypp-3.2.tar.gz>
- **Last updated:** 2026-06-13T01:24:12+02:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- fypp (cli)
- fypp (alias)

## Dependencies

- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.2
- Package-manager updated: 2026-06-13
- Local data: ok
- Upstream repository: https://fypp.readthedocs.io/en/stable/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Fypp is a Python-powered preprocessor aimed primarily at Fortran source preprocessing. Its documentation presents it as a way to add conditional compiling and template metaprogramming to modern Fortran while using Python expressions in directives rather than inventing a separate expression language.

### Project history

The GitHub repository was created in April 2016, with release 1.0 published the same day. Official documentation says Fypp was inspired by the pyratemp templating engine, but was written from scratch for source-code preprocessing needs such as compiler line-number markers and source-oriented line folding.

The project has continued through the 3.x line; release 3.0 was published in 2020, 3.1 in 2021, and 3.2 in 2023. The stable documentation identifies itself as Fypp 3.2.

### Adoption history

Fypp's official install instructions document conda-forge, pip/PyPI, MSYS2 pacman, GitHub release archives, and development installs from the repository. Supplied package-manager facts additionally list Homebrew, Debian, Nix, and Ubuntu packaging, reflecting use in both Python and Fortran build environments.

### How it is used

Users run the `fypp` command-line tool or import `fypp.py` directly from Python scripts. The documentation covers Make, Waf, and CMake integration, and notes that Python-driven build systems can use the API instead of shelling out to the executable.

### Why package nerds care

Fypp is package-nerd interesting because it is a small Python CLI that lives at the boundary between scientific Fortran build systems and Python packaging. It is not a general template engine packaged as an application; its significance is the deliberate adaptation of Python expression evaluation to Fortran preprocessing workflows.

### Timeline

- 2016: GitHub repository created.
- 2016: Release 1.0 published.
- 2020: Release 3.0 published.
- 2023: Release 3.2 published.

### Related projects

- The official documentation names pyratemp as an inspiration and compares Fypp with cpp/fpp-like preprocessors and the coco preprocessor. Its build-system examples place it beside Make, Waf, CMake, and Python-driven build tooling.

### Sources

- <https://api.github.com/repos/aradi/fypp>
- <https://fypp.readthedocs.io/en/stable/fypp.html>
- <https://github.com/aradi/fypp>
- <https://github.com/aradi/fypp/releases>
- <https://raw.githubusercontent.com/aradi/fypp/main/README.rst>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fypp
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - fypp - 3.1-3: normalized package name match | Debian stable package indexes: fypp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python powered Fortran preprocessor | http://fypp.readthedocs.io/
- Nix - fypp: normalized package name match | nixpkgs package indexes: pkgs/by-name/fy/fypp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fypp - 3.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: fypp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python powered Fortran preprocessor | http://fypp.readthedocs.io/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [fobis](https://www.automicvault.com/pkg/brew/fobis/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools, fortran.
- [maturin](https://www.automicvault.com/pkg/brew/maturin/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools, python.
- [ant](https://www.automicvault.com/pkg/brew/ant/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [compiledb](https://www.automicvault.com/pkg/brew/compiledb/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, python.
- [cppp](https://www.automicvault.com/pkg/brew/cppp/) - Shares av.db curated category or tags: cli, developer-tools, preprocessor, preprocessors.
- [dub](https://www.automicvault.com/pkg/brew/dub/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [fpm](https://www.automicvault.com/pkg/brew/fpm/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, fortran.
- [gpp](https://www.automicvault.com/pkg/brew/gpp/) - Shares av.db curated category or tags: cli, developer-tools, preprocessor, preprocessors.
- [ufbt](https://www.automicvault.com/pkg/brew/ufbt/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tool, build-tools, cli, developer.

## Combined YAML source

View the package source record on GitHub. [combined/fypp.yml](https://github.com/automic-vault/db/blob/main/combined/fypp.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
