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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 Windows x86

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyenchant-3.2.1.tar.gz
  • Upload date:
  • Size: 49.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for pyenchant-3.2.1.tar.gz
Algorithm Hash digest
SHA256 5e206a1d6596904a922496f6c9f7d0b964b243905f401f5f2f40ea4d1f74e2cf
MD5 563b7b32d1cb8ecb157ded7a7b081632
BLAKE2b-256 63c3074c9c4d6c39b26e8d06316b698995ee11ccfe0332f684d133f33126bd69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyenchant-3.2.1-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.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for pyenchant-3.2.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 37c79e1dab492092fe8135222b2ba404c1b79595b459af9edaeddb77a2cb89a5
MD5 efd75ce22402b2d27d92d95bce7711a5
BLAKE2b-256 04671225fd5081f1f778e398e7e3713fdcde14ea7f13c1eb0eac8fc50be949d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyenchant-3.2.1-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.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for pyenchant-3.2.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 49e0b255bef9356f57eeeee1d983ffa8599c0a46727d55cddbc71ec26226ca80
MD5 336fa657135f2c25104b652431ef64ab
BLAKE2b-256 d7fc6333300c21295a852c238df1599f4f883fc51683fdf6b5e31d4b2edd1e92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyenchant-3.2.1-py3-none-any.whl
  • Upload date:
  • Size: 55.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for pyenchant-3.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8546c28b630f6d9f76642166656e337df2a1849cbef2b8ee198e7f64266f4ee
MD5 a39d97a866c7e47d6b9ee3e8fd1c4374
BLAKE2b-256 76f1162fc6975068098e3327358216b70bbecba1d8004438c3bc8fe9f9378a89

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