Project: 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

Screenshots

Screenshot

Documentation

The documentation is available at Read the Docs.

Examples

Distribution

Cheeseshop

PyPI package is available:

pip install pygtkspellcheck

Archlinux

Python 3

pacman -S python-gtkspellcheck

Python 2

pacman -S python2-gtkspellcheck

Ubuntu / Debian

Ubuntu - Repository

sudo add-apt-repository ppa:koehlma/packages
sudo apt-get update

Debian - Repository

sudo su
echo "deb http://ppa.launchpad.net/koehlma/packages/ubuntu precise main" >> /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 775B7DF6
apt-get update

Python 2

sudo apt-get install python-gtkspellcheck

Python3

sudo apt-get install python3-gtkspellcheck

Download