Automic VaultAutomic Vault

brew

Install fprettify with Homebrew, dnf, Nix

Auto-formatter for modern fortran source code. Version 0.3.7 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install fprettify

local Homebrew formula metadata

Linux

Fedora dnfverified · 92%
sudo dnf install fprettify

Fedora Rawhide package metadata · fprettify · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#fprettify

nixpkgs package indexes · pkgs/by-name/fp/fprettify/package.nix · source: api.github.com

overview

Package summary

Auto-formatter for modern fortran source code

Commands and aliases

  • fprettify

history

Project history and usage

fprettify is a Python-based auto-formatter for modern Fortran source code. Its official README emphasizes strict whitespace formatting, indentation, continuation alignment, comment spacing, and support for modern Fortran beginning with Fortran 90.

Project history

The official source headers identify Patrick Seewald and the CP2K developers group as early copyright holders for the formatter. GitHub redirects the former pseewald/fprettify repository to fortran-lang/fprettify, and the current repository is maintained under the Fortran-lang organization.

The release history begins with v0.1 in August 2016, reaches v0.3 in November 2016, and continues through v0.3.7 in November 2020. The README records the later Python 3 requirement and notes that Python 2.7 support is no longer present.

Adoption history

Official installation instructions cover pip installation and conda-forge installation. The README also documents editor integration, especially Vim formatprg usage, and describes integration-test suites against external Fortran code bases.

How it is used

The command formats one or more files in place, can recurse through Fortran source trees, can write diffs or stdout instead of editing, and can be silenced for editor integration. With ConfigArgParse installed it reads ~/.fprettify.rc plus .fprettify.rc files in parent directories of the input file, starting from the current directory when reading stdin.

Why package nerds care

fprettify is significant because it brings the formatter-as-a-tool pattern to a language with long-lived formatting conventions and many legacy codebases. It is small, Python-packaged, editor-friendly, and useful in CI or pre-commit workflows for Fortran projects that want whitespace-only formatting by default.

Timeline

  • 2016: v0.1 was published as the first GitHub release.
  • 2016: v0.3 was published later the same year.
  • 2018: v0.3.2 and v0.3.3 were published.
  • 2019: v0.3.4 and v0.3.5 were published.
  • 2020: v0.3.6 and v0.3.7 were published.

Related projects

  • The README names fypp preprocessor directives as supported input and ConfigArgParse as the optional dependency enabling configuration files. Its current home under fortran-lang places it near the Fortran Package Manager and other modern Fortran tooling.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.fprettify.rc.fprettify.rc in parent directories of the input filefor stdin, .fprettify.rc search starts in the current directory

executables

Installed executables

CommandKindExposureNote
fprettifycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.3.7
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/fortran-lang/fprettify

install metadata

Package metadata

Package keybrew:fprettify
Version0.3.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/fprettify
Homepagehttps://github.com/fortran-lang/fprettify/
Repositoryhttps://github.com/fortran-lang/fprettify
Upstream docshttps://github.com/fortran-lang/fprettify#readme
LicenseGPL-3.0-or-later
Source archivehttps://files.pythonhosted.org/packages/39/15/d88681bd2be4a375a78b52443b8e87608240913623d9be5c47e3c328b068/fprettify-0.3.7.tar.gz
Dependenciespython@3.14
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefprettify
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

fprettify

nix profile install nixpkgs#fprettify
  • normalized package name match
  • Matched by: Fprettify
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fp/fprettify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

fprettify 0.3.7-20.fc45

Auto-formatter for modern Fortran source code

https://github.com/pseewald/fprettify

sudo dnf install fprettify
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: fprettify
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Fprettify
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fprettify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-fprettify 0.3.7-20.fc45

Python library for fprettify

https://github.com/pseewald/fprettify

sudo dnf install python3-fprettify
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: fprettify
  • 3 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: Fprettify
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-fprettify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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