Skip to main content

enchant-spellcheck

Check UTF-8 text files against an Enchant dictionary. Unknown words fail the command, while text enclosed in matching backticks is ignored.

Installation

Install Enchant and a dictionary, then:

uv tool install enchant-spellcheck

Usage

enchant-spellcheck document.txt
enchant-spellcheck --known-words words.txt document.txt other.txt
enchant-spellcheck --language en_GB document.txt
enchant-spellcheck --template=jinja document.txt
  • The accepted-words file contains one word per line and matching is case sensitive.

  • Diagnostics include the filename, line, column, and misspelled word.

  • Exit status is 0 for valid text, 1 for misspellings, and 2 for usage or input errors.

  • Results depend on the installed dictionary.

Jinja templates

Use --template=jinja to ignore statements ({% ... %}), expressions ({{ ... }}), and comments ({# ... #}). Tags can span multiple lines and contain quoted delimiters or white space control markers. Prose in every branch and literal content inside {% raw %} ... {% endraw %} remain checked. Backtick spans remain ignored, and diagnostics retain their original line and column positions.

This mode recognizes exclusions without rendering or validating the template. Standalone tags such as {%- endif %} are accepted. Tags, strings, and raw blocks must be closed; otherwise, the command exits with status 2. Strings inside statements and expressions are ignored, even when they contain prose. Custom delimiters and line statements are not supported.

Metadata

Release files for enchant-spellcheck 2026.11.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for enchant-spellcheck 2026.11.5.2
File Size Uploaded Provenance Actions
enchant_spellcheck-2026.11.5.2.tar.gz 174.8 kB Without provenance Details for enchant_spellcheck-2026.11.5.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for enchant-spellcheck 2026.11.5.2
File Interpreter ABI Platform Actions
enchant_spellcheck-2026.11.5.2-py3-none-any.whl Python 3 none any Details for enchant_spellcheck-2026.11.5.2-py3-none-any.whl

Total release size: 182.3 kB

Release files / enchant_spellcheck-2026.11.5.2.tar.gz

Download URL enchant_spellcheck-2026.11.5.2.tar.gz
Size 174.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d88167a2de903c0038574f9cf9f8c1855e2f7ed3bb7f9f2d99bdd9a44136a7a2
BLAKE2b-256 checksum
How to use checksums
c5fcc8ddf304272863a5ea89d6f0a83b980e856f3d93715765ccea310c66be7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / enchant_spellcheck-2026.11.5.2-py3-none-any.whl

Download URL enchant_spellcheck-2026.11.5.2-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd373f7ea372771dc57a0c2948d93d633d18bf3f865c99ec4bc4d956d566b825
BLAKE2b-256 checksum
How to use checksums
c0fcb2aab5cb86907871b23825d48021e3490c0a539725fc23c94d519e19a68e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for enchant-spellcheck 2026.11.5.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page