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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 Windows x86

pyenchant-3.1.0-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyenchant-3.1.0.tar.gz
Algorithm Hash digest
SHA256 2b4594e125c9fbc7fff2d310be141a4ace1f8af3e671c63ebd261407c82d3a92
MD5 5e8b6e02a7459b040a51f000c5ac37e3
BLAKE2b-256 43d64dfb0ee7608f51e6ed8a50a671a7b8ef283f44ac2ac5c7031dac6635cc00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyenchant-3.1.0-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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for pyenchant-3.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 87e54aa2402d1c23b6b117787521eb3b51ff514bd669b2113386fd8fac3b7cf1
MD5 32345b782b6152194b543630819fa773
BLAKE2b-256 828e231523f4a26b1136952c33fa76886e4d0017e7dc82b767b2ad18f5fe7531

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyenchant-3.1.0-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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for pyenchant-3.1.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 764b43937872100a53746f84c07b269f94951b8a03f40308b2b8875bc2f3d538
MD5 7def17672b251201db321cb400591c02
BLAKE2b-256 99f9a31df8463065788d3c4017dee686ae48abb45ea0c3059fe19283c2a10873

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyenchant-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 55.6 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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for pyenchant-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5acb1255c93f6b5b840a66b523586c12d372f3ceb9be18f9bf016626ab3387f6
MD5 a30708cd95d7449d20973b698cd9634c
BLAKE2b-256 ed7dc6534beeda8ac1b18e950466a3a572d762fcfeeca4d3a119547f1bcd0f20

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