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.

Source Distribution

pygtkspellcheck-4.0.tar.gz (110.9 kB view details)

Uploaded Source

File details

Details for the file pygtkspellcheck-4.0.tar.gz.

File metadata

  • Download URL: pygtkspellcheck-4.0.tar.gz
  • Upload date:
  • Size: 110.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygtkspellcheck-4.0.tar.gz
Algorithm Hash digest
SHA256 77fca2908a1ca67be45ffe4cc2e50ad11758588214b8aca28f984c6b5c6be234
MD5 4942d655bb6d8fef3f255a42971c9273
BLAKE2b-256 59fbabf35be4b0a3b0c3a0d4d93cb11848c9fe6c431fa86cc815048237f26ee3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page