PyEnchant is a spellchecking library for Python, based on the excellent Enchant library.

PyEnchant combines all the functionality of the underlying Enchant library with the flexibility of Python and a nice "Pythonic" object-oriented interface. It also aims to provide some higher-level functionality than is available in the C API.

To get started, check out the comprehensive tutorial, the FAQ, or the auto-generated API listing.
Or if you just want to get up and running in a hurry, here's a quick sample of PyEnchant in action:

>>> import enchant
>>> d = enchant.Dict("en_US")
>>> d.check("Hello")
True
>>> d.check("Helo")
False
>>> d.suggest("Helo")
['He lo', 'He-lo', 'Hello', 'Helot', 'Help', 'Halo', 'Hell', 'Held', 'Helm', 'Hero', "He'll"]


Sun, 10 Jul 2011

New Website Live

The PyEnchant project has a new website!

Yes, I've finally gotten around to moving things off my personal website and onto the free documentation hosting provided by the cheeseshop. The site is built using a combination of sphinx for the API docs and tutorial, and hyde for the general layout and management.


Tue, 14 Dec 2010

Version 1.6.5 released

Version 1.6.5 of PyEnchant has been released, with the following changes:

  • restore compatability with Python 3 (including 3.2 beta1)
  • fix unittest DeprecationWarnings on Python 3
  • statically compile libstdc++ into pre-built windows binaries

Older project news...