Metadata-Version: 2.1
Name: py2srbcyr
Version: 1.0.4
Summary: Transliteration of text in Latin into Serbian Cyrillic alphabet
Author-email: "Strana (eng: Page)" <zcprog+pypi@pm.me>
License: LGPL-3.0-or-later
Project-URL: Homepage, https://github.com/strn/py2srbcyr
Project-URL: Bug Tracker, https://github.com/strn/py2srbcyr/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.4
Description-Content-Type: text/markdown
License-File: LICENSE

# py2srbcyr

Python module that transliterates text from Latin to [Cyrillic alphabet](https://en.wikipedia.org/wiki/Serbian_Cyrillic_alphabet).

The module is Python implementation of great Javascript [Ћирилизатор - Cyrillizer](https://github.com/turanjanin/cirilizator).

Модул за пресловљавање латиничног текста на српску ћирилицу.

## Употреба

    from py2srbcyr import py2srbcyr
    ...
    cir = py2srbcyr.SerbCyr()
    print(cir.text_to_cyrillic('Zdravo svete!'))

## Тестирање

Да бисте програм тестирали неопходно је да имате инсталиран модуо `pytest`. Пошто сте га инсталирали, на командној линији из коренског директоријума задајте:

    python -m pytest
