skip to navigation
skip to content

Not Logged In

howabout 1.0

A library to suggest similar strings.

Howabout is a Python library to suggest similar strings. Use it in a command-line project or anywhere where simple misspellings occur.

from howabout import best_match

choices = ['sat', 'sot']

# returns 'sat', since
#   'sat' -> 'sate'
#   'sot' -> 'sat' -> 'sate'
best_match('sate', choices)

Examples can be found under examples/.


Python's argparse library is not supported out of the box as it cannot be extended or patched.


Install with pip:

$ pip install howabout


If you want to run the tests, install the requirements in requirements.txt:

$ virtualenv --no-site-packages .python && source .python/bin/activate
$ pip install -r requirements.txt
File Type Py Version Uploaded on Size
howabout-1.0.tar.gz (md5) Source 2014-02-25 3KB
  • Downloads (All Versions):
  • 2 downloads in the last day
  • 22 downloads in the last week
  • 168 downloads in the last month