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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 Windows x86

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyenchant-3.2.0.tar.gz
  • Upload date:
  • Size: 49.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for pyenchant-3.2.0.tar.gz
Algorithm Hash digest
SHA256 6b97e9a9f132fa7c9029a6635d821ccad67d4980e68186d02c765b4256b6f152
MD5 c38dd0ce5ac7142ba66072a7fca12c6f
BLAKE2b-256 1fd452869fe4ed24e373694c116adc00c82e5d92c747be4cbc97b24af43807f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyenchant-3.2.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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for pyenchant-3.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f22cc6e342d4e6a027296c59ae8ad4d5b2f281da1ecbe0e839a9e5f5d243b33d
MD5 62d473758a18aad165b6259b891cc337
BLAKE2b-256 5270eddb38504182286eb25976cb369dbfc314f8a904d4f6484e7618103f1e9f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyenchant-3.2.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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for pyenchant-3.2.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 f649f36fa90cb950d10b1a70bca50be7799ec759aa478353f08dcef579c097ee
MD5 9258e831d4455f904c8e71e277e54d75
BLAKE2b-256 d18f569dae067cfd1f103c5dd89367b50b3589d9837e5bc8d75f4d5b356b4df1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyenchant-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 55.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for pyenchant-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f5fbf99283136ad0e56660343ec4f16713981e340984ce9487de756fce022c6
MD5 c0805adce2af427d4d2c561ac6786595
BLAKE2b-256 998cbd224a5db562ac008edbfaf015f5d5c98ea13e745247cd4ab5fc5b683085

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