I've found a great python library implementing Levenshtein functions (distance, ratio, etc.) at http://code.google.com/p/pylevenshtein/ but the project seems inactive and the documentation is nowhere to be found. I was wondering if anyone knows better than me and can point me to the documentation.
Here is an example:
# install with: pip install python-Levenshtein
from Levenshtein import distance
edit_dist = distance("ah", "aho")