macOS
brew install fprettifylocal Homebrew formula metadata
安装
brew install fprettifylocal Homebrew formula metadata
sudo dnf install fprettifyFedora Rawhide package metadata · fprettify · 来源: dl.fedoraproject.org
nix profile install nixpkgs#fprettifynixpkgs package indexes · pkgs/by-name/fp/fprettify/package.nix · 来源: api.github.com
概览
Auto-formatter for modern fortran source code
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.fprettify.rc.fprettify.rc in parent directories of the input filefor stdin, .fprettify.rc search starts in the current directory可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fprettify | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
fprettify
nix profile install nixpkgs#fprettifyfprettify 0.3.7-20.fc45
Auto-formatter for modern Fortran source code
https://github.com/pseewald/fprettify
sudo dnf install fprettifypython3-fprettify 0.3.7-20.fc45
Python library for fprettify
https://github.com/pseewald/fprettify
sudo dnf install python3-fprettify来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.