Skip to main content

a simple but quite powerful Python spell checking library for GtkTextViews based on Enchant

Project description

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

Documentation

The documentation is available at Read the Docs.

Distribution

Cheeseshop

PyPI package is available:

pip install pygtkspellcheck

Archlinux - AUR

Python 3

AUR Package - Python 3

yaourt -S python-gtkspellcheck

Python 2

AUR Package - Python 2

yaourt -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

Python 3

sudo apt-get install python3-gtkspellcheck

Development

Development happens at GitHub.

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pygtkspellcheck, version 4.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pygtkspellcheck-4.0.1.tar.gz (107.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page