Skip to main content

Spell checker.

Project description

Donate via PayPal Discord Build Coverage Status PyPI Version PyPI - Python Version License

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

PySpelling is released under the MIT license.

Copyright (c) 2017 - 2021 Isaac Muse isaacmuse@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

pyspelling-2.7.3.tar.gz (152.8 kB view details)

Uploaded Source

Built Distribution

pyspelling-2.7.3-py3-none-any.whl (45.5 kB view details)

Uploaded Python 3

File details

Details for the file pyspelling-2.7.3.tar.gz.

File metadata

  • Download URL: pyspelling-2.7.3.tar.gz
  • Upload date:
  • Size: 152.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for pyspelling-2.7.3.tar.gz
Algorithm Hash digest
SHA256 ba1d737d66c3f8992a183c5c7515bc9cb2ee5d2103310a969af32331bb70ec2a
MD5 29a79a0b4ef5cb513d360ea7be4423d9
BLAKE2b-256 7ff4c1d2b1e2e9345ddb277713daf3c35c228fccddf650403c7e0cf3a8fc1084

See more details on using hashes here.

Provenance

File details

Details for the file pyspelling-2.7.3-py3-none-any.whl.

File metadata

  • Download URL: pyspelling-2.7.3-py3-none-any.whl
  • Upload date:
  • Size: 45.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for pyspelling-2.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4b57548b67e64d38aa25244d6f37101e45c67d88ebe5040b5ba67bc8d978a3e3
MD5 2953a297907b90e64b4de8d083f23c94
BLAKE2b-256 9ff8c33f8da385baf2c196c3614272e2c9a28300350dffd4603afe1f663e1950

See more details on using hashes here.

Provenance

Supported by

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