Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, Nix 安装 fprettify

查看 fprettify 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install fprettify

local Homebrew formula metadata

Linux

Fedora dnf已验证 · 92%
sudo dnf install fprettify

Fedora Rawhide package metadata · fprettify · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#fprettify

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

概览

软件包摘要

Auto-formatter for modern fortran source code

命令和别名

  • fprettify

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
fprettifycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.3.7
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:fprettify
版本0.3.7
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/fprettify
主页https://github.com/fortran-lang/fprettify/
仓库https://github.com/fortran-lang/fprettify
上游文档https://github.com/fortran-lang/fprettify#readme
许可证GPL-3.0-or-later
源码归档https://files.pythonhosted.org/packages/39/15/d88681bd2be4a375a78b52443b8e87608240913623d9be5c47e3c328b068/fprettify-0.3.7.tar.gz
依赖python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

fprettify

nix profile install nixpkgs#fprettify
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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