Python GTK Spellcheck
Python GTK Spellcheck is a simple but quite powerful spellchecking library for GTK written in pure Python. It's spellchecking component is based on Enchant and it supports both GTK 3 and 4 via PyGObject.
⚡️ News: Thanks to @cheywood, Python GTK Spellcheck now supports GTK 4! 🎉
🟢 Status: This project is mature, actively maintained, and open to contributions and co-maintainership.
✨ Features
- spellchecking based on Enchant for
GtkTextView - support for word, line, and multiline ignore regular expressions
- support for both GTK 3 and 4 via PyGObject for Python 3
- configurable extra word characters such as
' - localized names of the available languages based on ISO-Codes
- support for custom ignore tags and hot swap of
GtkTextBuffer - support for Hunspell (LibreOffice) and Aspell (GNU) dictionaries
🚀 Getting Started
Python GTK Spellcheck is available from the Python Package Index:
pip install pygtkspellcheck
Depending on your distribution, you may also find Python GTK Spellcheck in your package manager.
For instance, on Debian you may want to install the python3-gtkspellcheck package.
🥳 Showcase
Over time, several projects have used Python GTK Spellcheck or are still using it. Among those are:
- Nested Editor: “Specialized editor for structured documents.”
- Cherry Tree: “A hierarchical note taking application, […].”
- Zim: “Zim is a graphical text editor used to maintain a collection of wiki pages.”
- REMARKABLE: “The best markdown editor for Linux and Windows.”
- RedNotebook: “RedNotebook is a modern journal.”
- Reportbug: “Reports bugs in the Debian distribution.”
- UberWriter: “UberWriter is a writing application for markdown.”
- Gourmet: “Gourmet Recipe Manager is a manager, editor, and organizer for recipes.“
🔖 Versions
Version numbers follow Semantic Versioning. However, the update from 3 to 4 pertains only API incompatible changes in oxt_extract and not the spellchecking component. The update from 4 to 5 removed support for Python 2, GTK 2, pylocales, and the oxt_extract API. Otherwise, the API is still compatible with version 3.
📚 Documentation
The documentation is available at Read the Docs.
🏗 Contributing
We welcome all kinds of contributions! ❤️
For minor changes and bug fixes feel free to simply open a pull request. For major changes impacting the overall design of Python GTK Spellcheck, please first start a discussion outlining your idea.
By submitting a PR, you agree to license your contributions under “GPLv3 or later”.
Metadata
Release files for pygtkspellcheck 5.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pygtkspellcheck-5.0.4.tar.gz | 45.0 kB | Without provenance | Details for pygtkspellcheck-5.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pygtkspellcheck-5.0.4-py3-none-any.whl | Python 3 | none | any | Details for pygtkspellcheck-5.0.4-py3-none-any.whl |
Total release size: 91.5 kB
Release files / pygtkspellcheck-5.0.4.tar.gz
| Download URL | pygtkspellcheck-5.0.4.tar.gz |
|---|---|
| Size | 45.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a693defede048360b6b61e7de84f4fc9d6a0421b6d908922ad0513cfd6280ce3
|
|
BLAKE2b-256 checksum How to use checksums |
e688ee26f12225d4e8e39bc0190ec7c69076554436e51407379799ca295bd7ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.11 Linux/6.19.2
|
Release files / pygtkspellcheck-5.0.4-py3-none-any.whl
| Download URL | pygtkspellcheck-5.0.4-py3-none-any.whl |
|---|---|
| Size | 46.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e578d950046ed7b15487d00ea72ad39d33bdd85f61114f75caa4bdf28cd0aa3f
|
|
BLAKE2b-256 checksum How to use checksums |
0187e199ed6165f2e08492f6e8d44ef3d8824e473a2cf3be94cc19d5a6f8a3ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.11 Linux/6.19.2
|
Security for pygtkspellcheck 5.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.