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.3.0rc1.tar.gz (61.2 kB view details)

Uploaded Source

Built Distributions

pyenchant-3.3.0rc1-py3-none-win_amd64.whl (37.4 MB view details)

Uploaded Python 3 Windows x86-64

pyenchant-3.3.0rc1-py3-none-win32.whl (37.8 MB view details)

Uploaded Python 3 Windows x86

pyenchant-3.3.0rc1-py3-none-any.whl (58.6 kB view details)

Uploaded Python 3

File details

Details for the file pyenchant-3.3.0rc1.tar.gz.

File metadata

  • Download URL: pyenchant-3.3.0rc1.tar.gz
  • Upload date:
  • Size: 61.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pyenchant-3.3.0rc1.tar.gz
Algorithm Hash digest
SHA256 ee514d7adf8d0fe39d3a14088f5915953e7fb3bda35092e696fc38f78aabb8b8
MD5 fd95bb6e804dfa9332ee026b6177b1f6
BLAKE2b-256 ea8d96c6484b97e0f615ae52cfacaabbeb451c8246a117d8e4843b82cb91b39b

See more details on using hashes here.

File details

Details for the file pyenchant-3.3.0rc1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for pyenchant-3.3.0rc1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 960cbbf4ac99cf9c662308aa9a017ef23017dbea4c8c1e8329978ee4600b3f55
MD5 2702225fcafc3063fef606428101e81a
BLAKE2b-256 1b06537a9a183df9af9fd41c05ebea498e571c9c4e7a6427542615eafc6df6dd

See more details on using hashes here.

File details

Details for the file pyenchant-3.3.0rc1-py3-none-win32.whl.

File metadata

  • Download URL: pyenchant-3.3.0rc1-py3-none-win32.whl
  • Upload date:
  • Size: 37.8 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pyenchant-3.3.0rc1-py3-none-win32.whl
Algorithm Hash digest
SHA256 0314d162b7af83adc500f5aff850c91466129363ca8c4d79a8b8d99253346204
MD5 25fc236de2caa855917e044f7e9b501b
BLAKE2b-256 8f4b811ff3d4ffb9ed42b26352016b0b792b31c0987dc0579249cf76239d3c2b

See more details on using hashes here.

File details

Details for the file pyenchant-3.3.0rc1-py3-none-any.whl.

File metadata

  • Download URL: pyenchant-3.3.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 58.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pyenchant-3.3.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 377a2aaafcb41f871c573c5b74e502dcc6ddba72a62deae7d36dc601a9fcad3d
MD5 84b2e9168852ff4385c69adb00cb4c7a
BLAKE2b-256 82619b0397103a0c853c4e194be1cff1b0acd680638a6f011d44506cdd22b31b

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