PySpelling is a powerful spell checker for various text formats, including Markdown, reStructuredText, HTML, and Python source code. It acts as a wrapper for external spell checkers like Aspell or Hunspell, providing a unified configuration and reporting interface. Currently at version 2.12.1, it typically releases new versions every few months, often incorporating new Python version support, minor features, and bug fixes.
pip install pyspellingVerified import paths — ran on the pinned version, not inferred.
Create a `.pyspelling.yml` configuration file and then run `pyspelling` from your terminal. This example checks Markdown files using Aspell and a custom wordlist. Ensure you have Aspell or Hunspell installed on your system.
Upgrade your Python environment to 3.9+ (e.g., Python 3.9, 3.10, 3.11, 3.12, 3.13, 3.14).
Install Aspell (e.g., `sudo apt-get install aspell aspell-en` on Debian/Ubuntu, `brew install aspell` on macOS) or Hunspell on your operating system.
Carefully review your `.pyspelling.yml` file for YAML syntax errors. Use a YAML linter if unsure.
Use `pyspelling --skip-dict-compile` to speed up subsequent runs when custom dictionaries are stable. Note that changes to a custom dictionary will be ignored with this option.
No dependency data recorded yet.