macOS
brew install codespelllocal Homebrew formula metadata
sudo port install codespellMacPorts ports tree · python/codespell/Portfile · 来源: api.github.com
安装
brew install codespelllocal Homebrew formula metadata
sudo port install codespellMacPorts ports tree · python/codespell/Portfile · 来源: api.github.com
sudo apt install codespellDebian stable package indexes · codespell · 来源: deb.debian.org
sudo dnf install codespellFedora Rawhide package metadata · codespell · 来源: dl.fedoraproject.org
nix profile install nixpkgs#codespellnixpkgs package indexes · pkgs/by-name/co/codespell/package.nix · 来源: api.github.com
sudo pacman -S codespellArch Linux sync databases · codespell · 来源: geo.mirror.pkgbuild.com
sudo zypper install codespellopenSUSE Tumbleweed package metadata · codespell · 来源: download.opensuse.org
概览
Fix common misspellings in source code and text files
历史
codespell is a Python command-line spell checker for source trees and text files. Its niche is deliberately narrow: it looks for known common misspellings rather than trying to act as a full dictionary-based spell checker.
The project traces its original script and library copyright to Lucas De Marchi and ProFUSION embedded systems in 2010-2011. Its maintained upstream is the codespell-project GitHub repository, which the official README identifies as both the GitHub project and repository.
codespell became useful package-manager material because it has a small CLI surface, needs no service credentials, and fits easily into automated checks. The supplied package facts list it across Homebrew, Debian, Fedora/dnf, MacPorts, Nix, Arch/pacman, Ubuntu, and openSUSE/zypper, and the upstream README documents a pre-commit hook configuration.
The CLI is normally run against a working tree or selected paths, with dry-run output by default and an optional write mode for applying fixes. Configuration is intentionally repository-local: codespell reads pyproject.toml, setup.cfg, .codespellrc, or a file passed on the command line.
For packagers and release engineers, codespell is a classic low-friction quality gate: it is deterministic, text-oriented, and easy to wire into CI, pre-commit, and distro packaging checks without needing network access or secrets.
安全态势
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.
pyproject.tomlsetup.cfg.codespellrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
codespell | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/codespell-project/codespell
安装元数据
| 软件包键 | brew:codespell |
|---|---|
| 版本 | 2.4.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/codespell |
| 主页 | https://github.com/codespell-project/codespell |
| 仓库 | https://github.com/codespell-project/codespell |
| 上游文档 | https://github.com/codespell-project/codespell#readme |
| 许可证 | GPL-2.0-only |
| 源码归档 | https://files.pythonhosted.org/packages/80/19/45e941380f69c042b43423513d201e6592346f992394347f5e7174c31407/codespell-2.4.3.tar.gz |
| 最后更新 | 2026-07-16T15:10:28Z |
| Pulse | updated |
| 依赖 | python@3.14 |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | codespell |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
codespell 2.4.1-1
Find and fix common misspellings in text files
https://github.com/codespell-project/codespell/
sudo apt install codespellcodespell
nix profile install nixpkgs#codespellcodespell 2.2.6-1
Find and fix common misspellings in text files
https://github.com/codespell-project/codespell/
sudo apt install codespellcodespell 2.4.1-9.fc45
Fix common misspellings in text files
https://github.com/codespell-project/codespell/
sudo dnf install codespellcodespell 2.4.2-1
check code for common misspellings
https://github.com/codespell-project/codespell
sudo pacman -S codespellcodespell 2.4.2-1.2
Source code checker for common misspellings
https://github.com/codespell-project/codespell/
sudo zypper install codespellcodespell
sudo port install codespell来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.