def transliterate(text):
    """ Utility to properly transliterate text. """
    text = unidecode(six.text_type(text))
    text = text.replace('@', 'a')
    return text
def transliterate ( text ) : text = unidecode ( six . text_type ( text ) ) text = text . replace ( '@' , 'a' ) return text
Utility to properly transliterate text.