Skip to main content

Python bindings for the Enchant spellchecking system

Project description

https://img.shields.io/pypi/v/pyenchant.svg https://img.shields.io/pypi/pyversions/pyenchant.svg https://github.com/pyenchant/pyenchant/workflows/tests/badge.svg https://builds.sr.ht/~dmerej/pyenchant.svg https://img.shields.io/badge/code%20style-black-000000.svg

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:

https://abiword.github.io/enchant/

How do I use it?

For Windows 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 (brew on macOS).

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.2.2.tar.gz (49.6 kB view details)

Uploaded Source

Built Distributions

pyenchant-3.2.2-py3-none-win_amd64.whl (11.9 MB view details)

Uploaded Python 3 Windows x86-64

pyenchant-3.2.2-py3-none-win32.whl (11.9 MB view details)

Uploaded Python 3 Windows x86

pyenchant-3.2.2-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyenchant-3.2.2.tar.gz
  • Upload date:
  • Size: 49.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pyenchant-3.2.2.tar.gz
Algorithm Hash digest
SHA256 1cf830c6614362a78aab78d50eaf7c6c93831369c52e1bb64ffae1df0341e637
MD5 15d45b7517c80cfa5d9fa636a88e0bf9
BLAKE2b-256 b1a386763b6350727ca81c8fcc5bb5bccee416e902e0085dc7a902c81233717e

See more details on using hashes here.

File details

Details for the file pyenchant-3.2.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: pyenchant-3.2.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 11.9 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pyenchant-3.2.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6153f521852e23a5add923dbacfbf4bebbb8d70c4e4bad609a8e0f9faeb915d1
MD5 513ea6e59605673cd5ef23b494500801
BLAKE2b-256 49962087455de16b08e86fa7ce70b53ddac5fcc040c899d9ebad507a0efec52d

See more details on using hashes here.

File details

Details for the file pyenchant-3.2.2-py3-none-win32.whl.

File metadata

  • Download URL: pyenchant-3.2.2-py3-none-win32.whl
  • Upload date:
  • Size: 11.9 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pyenchant-3.2.2-py3-none-win32.whl
Algorithm Hash digest
SHA256 5a636832987eaf26efe971968f4d1b78e81f62bca2bde0a9da210c7de43c3bce
MD5 07b75f0814023f731ef360b8d230b25d
BLAKE2b-256 01441e9a273d230abf5c961750a75e42b449adfb61eb446f80b6523955d2a4a2

See more details on using hashes here.

File details

Details for the file pyenchant-3.2.2-py3-none-any.whl.

File metadata

  • Download URL: pyenchant-3.2.2-py3-none-any.whl
  • Upload date:
  • Size: 55.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pyenchant-3.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5facc821ece957208a81423af7d6ec7810dad29697cb0d77aae81e4e11c8e5a6
MD5 91a718180d5cc18a033467b11ca0affc
BLAKE2b-256 544ca741dddab6ad96f257d90cb4d23067ffadac526c9cab3a99ca6ce3c05477

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