import unicodedata


def strip_accents(string):
    """
    Method that transliterates accented characters.

    Example::

        strip_accents('thîš ìŝ ã tëśt')

    :param str string: String to be striped of accented characters
    :return: String striped of accented characters
    :rtype: str
    """
    # Taken from here:
    # https://stackoverflow.com/a/518232
    return ''.join(c for c in unicodedata.normalize('NFD', string)
                   if unicodedata.category(c) != 'Mn')