difflib.get_close_matches
Also written: difflib
A Python standard-library function that returns the most similar strings from a list, if they are similar enough. It can snap "Espresso" to "House Espresso" and let code drop names that match nothing, such as unknown products.