Вы можете использовать встроенный difflib для этого.
import difflib
search_list = ['ape', 'apple', 'peach', 'puppy']
matches = difflib.get_close_matches('appel', possibilities=search_list, cutoff=0.6)
print(matches)
['apple', 'ape']
exclude_list = ['ape']
matches_with_exclusion = [x for x in matches if x not in exclude_list]
print(matches_with_exclusion)
['apple']