Spell checker.
Project description
PySpelling
Overview
PySpelling is a module to help with automating spell checking in a project with Aspell or Hunspell. It is essentially a wrapper around the command line utility of these two spell checking tools, and allows you to setup different spelling tasks for different file types. You can apply specific and different filters and options to each task. PySpelling can also be used in CI environments to fail the build if there are misspelled words.
Aspell and Hunspell are very good spell checking tools. Aspell particularly comes with a couple of filters, but the filters are limited in types and aren't extremely flexible. PySpelling was created to work around Aspell's and Hunspell's filtering shortcomings by creating a wrapper around them that could be extended to handle more kinds of file formats and provide more advanced filtering. If you need to filter out specific HTML tags with specific IDs or class names, PySpelling can do it. If you want to scan Python files for docstrings, but also avoid specific content within the docstring, you can do that as well. If PySpelling doesn't have a filter you need, with access to so many available Python modules, you can easily write your own.
Documentation
Extension documentation is found here: https://facelessuser.github.io/pyspelling/.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyspelling-2.10.tar.gz
.
File metadata
- Download URL: pyspelling-2.10.tar.gz
- Upload date:
- Size: 148.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd67133c1b7cecd410e3d4489e61f2e4b1f0b6acf1ae6c48c240fbb21729c37 |
|
MD5 | 34214d71aef6411ebcf30e3686d28f0d |
|
BLAKE2b-256 | 1207168a857755a29b7e41550a28cd8f527025bc62fcb36a951d8f3f2eedcdf7 |
File details
Details for the file pyspelling-2.10-py3-none-any.whl
.
File metadata
- Download URL: pyspelling-2.10-py3-none-any.whl
- Upload date:
- Size: 45.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b079dd238bd0616a49f9ac5df32799beb851dddc5ed7634f551e7df1aeee943 |
|
MD5 | 6650b90fadc4ceec9c481ee2cac32a22 |
|
BLAKE2b-256 | 9f16242558b5c5cb73efd52490f1e6bfb03eae63b2585770b9cae78bd491ef0b |