nltk.edit_distance()
is the first reputable implementation I could find of Levenshtein edit-distance.
python
from nltk import edit_distance
# Prints '2', one deletion plus one insertion
print(edit_distance('apple','appel'))
Mostly just sharing this because it's what I was looking for when I found this page.