Skip to main content
https://travis-ci.org/mmessmore/sitechantment.png?branch=master https://pypip.in/d/sitechantment/badge.png

Check a site for spelling errors in a way that can be integrated with your testing

Why?

I wanted a way to add spellchecking to a suite of tests for a Flask-based site. I saw some windows tools, using a combination of lynx/curl/wget and i/a/hunspell.

But I just want a way to get a +/- test and a list of misspelled words.

How

So sitechantment is a command line utility to do just that. You can pass it a url to crawl, an optional additional list of words, language, etc. It will crawl the site (not wandering off to another host/port) spellcheck every page and give you a list of words that are “misspelled”.

You have the ability to run with a –update flag to automatically add all words to a personal word list so they aren’t flagged on the next run.

It is also available as a class sitechantment.SiteCheck, that can be used inside a test suite. You can even pass it a flask test client instead of using requests and be able to crawl a site inside of py.test or whatever is being used to unit test a flask application. (Really anything can be used as long as it supports handling uri’s with a get() method).

Documentation

The full documentation is at http://sitechantment.rtfd.org.

History

0.1.0 (2015-07-18)

  • First release on PyPI.

Metadata

Release files for sitechantment 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sitechantment 0.1.0
File Size Uploaded
sitechantment-0.1.0.tar.gz 6.5 kB Details

Release files / sitechantment-0.1.0.tar.gz

Download URL sitechantment-0.1.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
92b5ef1e5a11dd22c4d161dba724b71ea66bc23bc6a43e6bb42849d1f58bcf15
BLAKE2b-256 checksum
How to use checksums
4af03f3155c45c6aa52cbec56eed6f9509218d9215df9c3ca3d9dfe14d6408a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page