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:

http://www.abisource.com/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.1.1.tar.gz (49.4 kB view details)

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 Windows x86

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyenchant-3.1.1.tar.gz
  • Upload date:
  • Size: 49.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for pyenchant-3.1.1.tar.gz
Algorithm Hash digest
SHA256 ce0915d7acd771fde6e8c2dce8ad0cb0e6f7c4fa8430cc96e3e7134e99aeb12f
MD5 1e894030a64792d88f2775bacd295bb1
BLAKE2b-256 d84387ddf3feb92de8464d082f3fc80541bcff6c5b54ef286ff5ef70db7c8da7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyenchant-3.1.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.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for pyenchant-3.1.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 fd490efd7ce46e461cbd905bf6e2fdd540d85f43973b296a743b4591bfbcca60
MD5 cce419df72299b47c20eaf253915438c
BLAKE2b-256 d3305eb86e1d555858496ccda5f9de416c7924f5912444f67883e70a756fb44a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyenchant-3.1.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.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for pyenchant-3.1.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 997465ab1f0dc9900b3bde0a1998c62ac08e64cc9a0870865d50de1e7d4b5afa
MD5 14671909462e1d899393d88b9c346d82
BLAKE2b-256 fb81645c47d14a328bb3c49d0fdc1dcef5c9d81f1da094cd77bfc1b2c33116bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyenchant-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 55.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for pyenchant-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ca419921e79022b344581ef7baf2e23af5c20b3e56b2f3d5a0448bd5bf2662e
MD5 34d6c18806298b80deb186892395d434
BLAKE2b-256 4655810c871d9a556685553ab1ace4a6c580460ca476736829fffe8cfef32a66

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