Skip to main content

Python bindings for the Enchant spellchecking system

Project description

Status: maintenance transfer

Maintenance of this project is getting transferred from Ryan Kelly to me, Dimitri Merejkowsky. Expect a few bumps down the road while issues are sorted out.

A new release is being worked on, see the “next release” milestone for more details.

pyenchant: Python bindings for the Enchant spellchecker

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

http://pyenchant.github.io/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 Ryan Kelly. He needed a decent spellchecker for another project he was 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 himself about SWIG, ctypes, and even a little bit of the Python/C API.

Finally, after Ryan stepped down from the project, Dimitri Merejkowsky became the new maintainer.

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-3.0.0a2.tar.gz (50.7 kB view details)

Uploaded Source

Built Distribution

pyenchant-3.0.0a2-py3-none-any.whl (56.4 kB view details)

Uploaded Python 3

File details

Details for the file pyenchant-3.0.0a2.tar.gz.

File metadata

  • Download URL: pyenchant-3.0.0a2.tar.gz
  • Upload date:
  • Size: 50.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

File hashes

Hashes for pyenchant-3.0.0a2.tar.gz
Algorithm Hash digest
SHA256 68520affefb77e41931e5135c59f39fad783456ff36dc7bafbb66a0d088d90bd
MD5 a97d7810cd723841ae81d7696d8810b9
BLAKE2b-256 2f701ffb375508f5602debab3a5773312b5209bd9bbf58267e68712a24a2fde8

See more details on using hashes here.

File details

Details for the file pyenchant-3.0.0a2-py3-none-any.whl.

File metadata

  • Download URL: pyenchant-3.0.0a2-py3-none-any.whl
  • Upload date:
  • Size: 56.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

File hashes

Hashes for pyenchant-3.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 332bcb4e83a3e5fb0a007537f15d9d81ed106c2edef1596bb7a96fa627ec39c9
MD5 c5d7224e60a0693aefb0df2f12af74ec
BLAKE2b-256 4bfc845ef08b9de54fca713454be8f3fc1855c0c9b69d666c2a705a39f0d6f1d

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