pyenchant
Python bindings for the Enchant spellchecking system
Decision gist · record as of 2026-08-14
Yes, if you already have Enchant installed on your system or are willing to install it separately. PyEnchant is stable, actively maintained, has no Python dependencies, and is widely used. The main friction is the external system dependency—plan for that upfront. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- The Enchant spellchecking library must be installed on the system separately; PyEnchant is only the Python binding and will not function without it.
- Low install friction with a pure-wheel distribution.
- Active maintenance with a recent commit on 2026-06-04.
License · maintenance · safety
LGPL (copyleft) — Licensed under LGPL (copyleft). This means any modifications to PyEnchant itself must be released under compatible terms, though applications using it as a library face fewer restrictions.
last release 2025-09-14 (334 days) · last repo commit 2026-06-04 · 625 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,009,601 downloads/mo, #2,401 on PyPI
Alternatives
Verify before relying
pip install pyenchant
import pyenchant
# Create a dictionary and check spelling
checker = pyenchant.Dict("en_US")
print(checker.check("word"))
print(checker.suggest("misspeled"))- Which system package managers and versions of Enchant are officially supported or tested.
- Whether all popular spellchecking backends (ispell, aspell, MySpell) are equally well-supported through Enchant on modern systems.
- Performance characteristics for large-scale spell-checking workloads.
What it is and what it does
PyEnchant is a Python wrapper around the Enchant spellchecking library, which has been in active development since 2006. It lets you check spelling and get correction suggestions for words, supporting multiple languages and multiple underlying spellchecking engines. The package itself is lightweight with no Python runtime dependencies—it uses ctypes to call the native Enchant library.
The main gotcha is that PyEnchant is not self-contained: installing it via pip does not automatically provide the Enchant library itself. You must install Enchant separately on your system before PyEnchant can work. Once Enchant is present, PyEnchant gives you a straightforward Python API to create dictionary objects, check words, and retrieve suggestions.
Use it for
- Build a spell-checker for user-submitted text in a web application or content management system.
- Validate spelling in bulk text processing pipelines before publishing or archiving documents.
- Implement multilingual spell-checking in desktop or CLI tools that need to support many languages.
- Add spell-check suggestions to a text editor or IDE plugin.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you already have Enchant installed on your system or are willing to install it separately.
PyEnchant is stable, actively maintained, has no Python dependencies, and is widely used. The main friction is the external system dependency—plan for that upfront. No known security vulnerabilities.
Install
pyenchant on PyPI
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with a recent commit on 2026-06-04. However, the documentation explicitly warns that PyEnchant will not work out of the box after installation—the underlying Enchant library must be installed separately on the system.
The Enchant spellchecking library must be installed on the system separately; PyEnchant is only the Python binding and will not function without it.
License in practice
Licensed under LGPL (copyleft). This means any modifications to PyEnchant itself must be released under compatible terms, though applications using it as a library face fewer restrictions.
Quickstart
pip install pyenchant
import pyenchant
# Create a dictionary and check spelling
checker = pyenchant.Dict("en_US")
print(checker.check("word"))
print(checker.suggest("misspeled"))
Verify before relying
- Which system package managers and versions of Enchant are officially supported or tested.
- Whether all popular spellchecking backends (ispell, aspell, MySpell) are equally well-supported through Enchant on modern systems.
- Performance characteristics for large-scale spell-checking workloads.
Package facts
| License | LGPL copyleft |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 334 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,009,601 / month, #2,401 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: LibrariesTopic :: Text Processing :: Linguistic |
Evidence: pyenchant-3.3.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “spellchecker library”
- pyenchantPyEnchant provides Python bindings to the Enchant spellchecking…
- symspellpysymspellpy is a Python port of SymSpell v6.7.2 that performs fast…
- language_tool_pythonPython wrapper for LanguageTool that checks grammar, style, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also language_tool_python · sphinxcontrib-spelling · pyspellchecker · pyspelling · typos · symspellpy · pythainlp · mkdocs-spellcheck · unicode-rbnf · codespell