Skip to main content

Python bindings for the Enchant spellchecking system

Project description

This package provides a set of Python language bindings for the Enchant spellchecking library. For more information, visit the project website:

http://packages.python.org/pyenchant/

What is Enchant?

Enchant is used to check the spelling of words and suggest corrections for words that are miss-spelled. It can use many popular spellchecking packages to perform this task, including ispell, aspell and MySpell. It is quite flexible at handling multiple dictionaries and multiple languages.

More information is available on the Enchant website:

http://www.abisource.com/enchant/

How do I use it?

For Windows and OSX users, install the pre-built binary packages using pip:

pip install pyenchant

These packages bundle a pre-built copy of the underlying enchant library. Users on other platforms will need to install “enchant” using their system package manager.

Once the software is installed, python’s on-line help facilities can get you started. Launch python and issue the following commands:

>>> import enchant
>>> help(enchant)

Who is responsible for all this?

The credit for Enchant itself goes to Dom Lachowicz. Find out more details on the Enchant website listed above. Full marks to Dom for producing such a high-quality library.

The glue to pull Enchant into Python via ctypes was written by me, Ryan Kelly. I needed a decent spellchecker for another project I am working on, and all the solutions turned up by Google were either extremely non-portable (e.g. opening a pipe to ispell) or had completely disappeared from the web (what happened to SnakeSpell?) It was also a great excuse to teach myself about SWIG, ctypes, and even a little bit of the Python/C API.

Bugs can be filed on the project’s github page:

http://github.com/rfk/pyenchant/issues

Comments, suggestions, other feedback can be directed to the pyenchant-users mailing list:

pyenchant-users@googlegroups.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyenchant-1.6.6.tar.gz (64.0 kB view details)

Uploaded Source

Built Distributions

pyenchant-1.6.6.win32.exe (3.2 MB view details)

Uploaded Source

pyenchant-1.6.6-py2.py3.cp27.cp26.cp32.cp33.cp34.pp27-none-win32.whl (3.0 MB view details)

Uploaded CPython 2.6 CPython 2.7 CPython 3.2 CPython 3.3 CPython 3.4 PyPy Python 2 Python 3 Windows x86

pyenchant-1.6.6-py2.py3.cp27.cp26.cp32.cp33.cp34.pp27-none-macosx_10_6_intel.macosx_10_9_intel.whl (3.8 MB view details)

Uploaded CPython 2.6 CPython 2.7 CPython 3.2 CPython 3.3 CPython 3.4 PyPy Python 2 Python 3 macOS 10.6+ intel macOS 10.9+ intel

pyenchant-1.6.6-py2.py3-none-any.whl (60.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyenchant-1.6.6.tar.gz.

File metadata

  • Download URL: pyenchant-1.6.6.tar.gz
  • Upload date:
  • Size: 64.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyenchant-1.6.6.tar.gz
Algorithm Hash digest
SHA256 25c9d2667d512f8fc4410465fdd2e868377ca07eb3d56e2b6e534a86281d64d3
MD5 9f5acfd87d04432bf8df5f9710a17358
BLAKE2b-256 4a2c355274f41cafa938cf7d41752469a0316efb360506558cc4890abf4c5dae

See more details on using hashes here.

File details

Details for the file pyenchant-1.6.6.win32.exe.

File metadata

File hashes

Hashes for pyenchant-1.6.6.win32.exe
Algorithm Hash digest
SHA256 fe5fc3e2577d38e2adc0d2c70a92c1e11d4e450f40465a7cf649a5a250b254b9
MD5 d2aa030d21eebd74f80a62ce9ef75f1d
BLAKE2b-256 8c6fc24b98390c5cea51dee031002e44919ae7ae1ff570833b037a0ac07e9269

See more details on using hashes here.

File details

Details for the file pyenchant-1.6.6-py2.py3.cp27.cp26.cp32.cp33.cp34.pp27-none-win32.whl.

File metadata

File hashes

Hashes for pyenchant-1.6.6-py2.py3.cp27.cp26.cp32.cp33.cp34.pp27-none-win32.whl
Algorithm Hash digest
SHA256 dd6ec7351ee93b65bd3c0bf9b1dbc143d2837cffabf8371bda0d589f471679bc
MD5 b9dd3c2a7ee5eb6dfa4b8877b9e67c40
BLAKE2b-256 928ca634c78d23a4b6d2b4bbfb7f11ff3a310257961e0c2fa3cee71c5bd41834

See more details on using hashes here.

File details

Details for the file pyenchant-1.6.6-py2.py3.cp27.cp26.cp32.cp33.cp34.pp27-none-macosx_10_6_intel.macosx_10_9_intel.whl.

File metadata

File hashes

Hashes for pyenchant-1.6.6-py2.py3.cp27.cp26.cp32.cp33.cp34.pp27-none-macosx_10_6_intel.macosx_10_9_intel.whl
Algorithm Hash digest
SHA256 66f45e71d52e159381a1177b63e25eb419a0acb49b18a7197c0be8110567b8d1
MD5 2bf87b3281003433d7c718d2cc19bcc6
BLAKE2b-256 4b7f2b1389f239f6b694a6f6e5fbfac0e4b7a08d382e83a5dc80bda16342c8a3

See more details on using hashes here.

File details

Details for the file pyenchant-1.6.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyenchant-1.6.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2e573566c62eea455b2447b90accc61efed1d2a825dd3dc9285ab914baae92b3
MD5 784f61331c0d26f28740cf4cbafc59af
BLAKE2b-256 a34177b23a367708243834bc98efe26289e6fba0d71ea958443d214f2b29fe64

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page