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.1.tar.gz (107.8 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pygtkspellcheck-4.0.1.tar.gz
Algorithm Hash digest
SHA256 a00f562e3d64415627c3b461035f1ecbeb0fcd172914220f295d683990429511
MD5 38ff19f3d1b60d3a80a8c9bd8c554cb0
BLAKE2b-256 3b2989210a0acb9ba33d8fdca5b43db6887dcffbb6a6fa7bc85959144f622d27

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