# Installer fprettify avec Homebrew, dnf, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de fprettify pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:fprettify
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install fprettify
```

  Preuve: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install fprettify
```

  Preuve: Fedora Rawhide package metadata: fprettify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#fprettify
```

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

## Faits du paquet

- **Clé du paquet:** brew:fprettify
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/fprettify>
- **Version:** 0.3.7
- **Résumé source:** Auto-formatter for modern fortran source code
- **Page d'accueil:** <https://github.com/fortran-lang/fprettify/>
- **Dépôt:** <https://github.com/fortran-lang/fprettify>
- **Docs amont:** <https://github.com/fortran-lang/fprettify/>
- **Licence:** GPL-3.0-or-later
- **Archive source:** <https://files.pythonhosted.org/packages/39/15/d88681bd2be4a375a78b52443b8e87608240913623d9be5c47e3c328b068/fprettify-0.3.7.tar.gz>
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- fprettify (cli)
- fprettify (alias)

## Dépendances

- python@3.14

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur all

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.3.7
- données locales: OK
- dépôt amont: https://github.com/fortran-lang/fprettify
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <https://api.github.com/repos/fortran-lang/fprettify/releases?per_page=20>
- <https://github.com/pseewald/fprettify>
- <https://raw.githubusercontent.com/fortran-lang/fprettify/master/README.md>
- <https://raw.githubusercontent.com/fortran-lang/fprettify/master/fprettify/__init__.py>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## 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

- Unix: ~/.fprettify.rc, .fprettify.rc in parent directories of the input file, for stdin, .fprettify.rc search starts in the current directory
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fprettify
- **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

## Autres enregistrements de gestionnaires de paquets

- Nix - fprettify: normalized package name match | nixpkgs package indexes: pkgs/by-name/fp/fprettify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - fprettify - 0.3.7-22.fc45: normalized package name match | Fedora Rawhide package metadata: fprettify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Auto-formatter for modern Fortran source code | https://github.com/pseewald/fprettify
- dnf - python3-fprettify - 0.3.7-22.fc45: normalized package name match | Fedora Rawhide package metadata: python3-fprettify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Python library for fprettify | https://github.com/pseewald/fprettify


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/fr/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [findent](https://pkg.so/fr/brew/findent/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, fortran, source-code.
- [black](https://pkg.so/fr/brew/black/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, python.
- [swift-format](https://pkg.so/fr/brew/swift-format/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, source-code.
- [isort](https://pkg.so/fr/brew/isort/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, python.
- [yamlfix](https://pkg.so/fr/brew/yamlfix/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, python.
- [yapf](https://pkg.so/fr/brew/yapf/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, python.
- [snakefmt](https://pkg.so/fr/brew/snakefmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, python.
- [dfmt](https://pkg.so/fr/brew/dfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, source-code.
- [autopep8](https://pkg.so/fr/brew/autopep8/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, developer, developer-tools, formatter.
- [darker](https://pkg.so/fr/brew/darker/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, developer, developer-tools, formatter.
- [djhtml](https://pkg.so/fr/brew/djhtml/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, developer, developer-tools, formatter.

## Combined YAML source

View the package source record on GitHub. [combined/fprettify.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fprettify.yml)


## Sources

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