Permalink
22a7902 Oct 3, 2016
@koehlma @carlos-jenkins
83 lines (56 sloc) 2.68 KB

Python GTK Spellchecker

A simple but quite powerful spellchecking library written in pure Python for Gtk based on Enchant. It supports PyGObject as well as PyGtk for Python 2 and 3 with automatic switching and binding detection. For automatic translation of the user interface it can use Gedit’s translation files.

Features

  • localized names of the available languages
  • supports word, line and multiple line ignore regular expressions
  • supports ignore custom tags on GtkTextBuffer
  • enable and disable of spellchecking with preferences memory
  • supports hotswap of GtkTextBuffers
  • PyGObject and PyGtk compatible with automatic detection
  • Python 2 and 3 supportas Enchant, support for Hunspell (LibreOffice) and Aspell (GNU) dictionaries
  • extract dictionaries out of LibreOffice extension files
  • legacy API for Python GtkSpell

API Reference

Deprecated API Reference

Warning

The following functions are deprecated since version 4.0.5, they will be removed from "pygtkspellcheck" in 5.0.

Development

Development happens at GitHub.

git clone git://github.com/koehlma/pygtkspellcheck.git

Download last sources in a ZIP or Tarball file.

Website

Checkout the official project website for additional information.

Examples

License

PyGtkSpellcheck is released under GPLv3 or at your opinion any later version.