How to use the mimesis.decorators.romanized function in mimesis

To help you get started, we’ve selected a few mimesis examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lk-geimfari / mimesis / tests / test_decorators.py View on Github external
    @mimesis.decorators.romanized('nil')
    def user():
        return 'Mimesis'
github lk-geimfari / mimesis / tests / test_decorators.py View on Github external
@mimesis.decorators.romanized('ru')
def russian_name():
    return 'Ликид Геимфари'
github lk-geimfari / mimesis / tests / test_decorators.py View on Github external
@mimesis.decorators.romanized('ru')
def mixed_text():
    return 'Что-то там_4352-!@#$%^&*()_+?"<>"'
github lk-geimfari / mimesis / tests / test_decorators.py View on Github external
    @mimesis.decorators.romanized('ru')
    def some_name():
        return 'Абырвалг Аристархович'
github lk-geimfari / mimesis / tests / test_decorators.py View on Github external
@mimesis.decorators.romanized('kk')
def kazakh_text():
    return 'Python - ең жақсы бағдарламалау тілі!'
github lk-geimfari / mimesis / tests / test_decorators.py View on Github external
@mimesis.decorators.romanized('uk')
def ukrainian_text():
    return 'Українська мова!'
github lk-geimfari / mimesis / tests / test_decorators.py View on Github external
@mimesis.decorators.romanized('ru')
def russian_alphabet():
    return ' '.join('АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ'
                    'абвгдеёжзийклмнопрстуфхцчшщъыьэюя')