skip to navigation
skip to content

Not Logged In

topy 0.0.1

Fixes typos in text using regular expressions, based on RegExTypoFix from Wikipedia

Latest Version: 0.1.0

Topy (anagram of “typo”) is a Python script to fix typos in text, based on the RegExTypoFix project from Wikipedia and AutoWikiBrowser.

Topy runs with either Python 2 or 3; you need to install dependencies listed in requirements.txt, easiest way is to use pip:

pip install -r requirements.txt

Usage:

Usage: topy.py [options] FILES...

Options:
  -h, --help   show this help message and exit
  -q, --quiet  silence information messages
  -a, --apply  overwrite files in place

Contributing

Code style:

  • In general follow the Python PEP-8 coding style, except line length can go up to 120 chars.
  • Strings that have meaning for humans use double quotes ("), otherwise single quotes ('). When in doubt, don’t worry about it.

Submit your changes as pull requests on Github.

License

The Topy software is licensed under the MIT license (see LICENSE.txt)

The bundled retf.txt file, copied from Wikipedia:AutoWikiBrowser/Typos by Wikipedia contributors is licensed under CC-BY-SA. See the page on Wikipedia for authorship information.

 
File Type Py Version Uploaded on Size
topy-0.0.1.tar.gz (md5) Source 2014-08-24 109KB
  • Downloads (All Versions):
  • 6 downloads in the last day
  • 35 downloads in the last week
  • 137 downloads in the last month