codespell
brew install codespell
v2.4.2
GPL-2.0-only
Fix common misspellings in source code and text files
261
30-day installs · #2359
968
90-day · #2241
4.5k
365-day · #2023
2.4k
★ GitHub stars · updated 2mo ago
Runtime dependencies
Links
- https://github.com/codespell-project/codespell
- GitHub: codespell-project/codespell
- Brew formula source: Formula/c/codespell.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"python@3.14"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Fix common misspellings in source code and text files",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:32+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "codespell",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-19T13:20:53Z",
"github_readme_excerpt": "codespell\n=========\n\nFix common misspellings in text files. It\u0027s designed primarily for checking\nmisspelled words in source code (backslash escapes are skipped), but it can be used with other files as well.\nIt does not check for word membership in a complete dictionary, but instead\nlooks for a set of common misspellings. Therefore it should catch errors like\n\"adn\", but it will not catch \"adnasdfasdf\". This also means it shouldn\u0027t\ngenerate false-positives when you use a niche term it doesn\u0027t know about.\n\nUseful links\n------------\n\n* `GitHub project \u003chttps://github.com/codespell-project/codespell\u003e`_\n\n* `Repository \u003chttps://github.com/codespell-project/codespell\u003e`_\n\n* `Releases \u003chttps://github.com/codespell-project/codespell/releases\u003e`_\n\nRequirements\n------------\n\nPython 3.9 or above.\n\nInstallation\n------------\n\nYou can use ``pip`` to install codespell with e.g.:\n\n.. code-block:: sh\n\n pip install codespell\n\nUsage\n-----\n\nBelow are some simple usage examples to demonstrate how the tool works.\nFor exhaustive usage information, please check the output of ``codespell -h``.\n\nRun codespell in all files of the current directory:\n\n.. code-block:: sh\n\n codespell\n\nRun codespell in specific files or directories (specified via their names or glob patterns):\n\n.. code-block:: sh\n\n codespell some_file some_dir/ *.ext\n\nSome noteworthy flags:\n\n.. code-block:: sh\n\n codespell -w, --write-changes\n\nThe ``-w`` flag will actually implement the changes recommended by codespell. Running without the ``-w`` flag is the same as doing a dry run. It is recommended to run this with the ``-i`` or ``--interactive`` flag.\n\n.. code-block:: sh\n\n codespell -I FILE, --ignore-words=FILE\n\nThe ``-I`` flag can be used for a list of certain words to allow that are in the codespell dictionaries. The format of the file is one word per line. Invoke using: ``codespell -I path/to/file.txt`` to execute codespell referencing said list of allowed words. See `Ignoring Words`_ for more details.\n\n.. code-blo",
"github_repo": "codespell-project/codespell",
"github_stars": 2391,
"github_topics": [],
"homepage": "https://github.com/codespell-project/codespell",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 261,
"installs_365d": 4516,
"installs_90d": 968,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "GPL-2.0-only",
"llm_generated_at": null,
"llm_model": null,
"name": "codespell",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 2359,
"rank_365d": 2023,
"rank_90d": 2241,
"raw_hash": "d46666574d60eb8e",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/codespell.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "2.4.2",
"versioned_formulae": [],
"why_use_this": null
}