ru_accent_poet
This is a tool for putting stress marks in russian poetic texts
Installation
pip install ru-accent-poet
Usage example
To put stress marks in text
>>> from ru_accent_poet import accent_line
>>> accent_line('Ýòî èíñòðóìåíò äëÿ ðàçìåòêè óäàðåíèé')
Ý'òî èíñòðóìå'íò äëÿ ðàçìå'òêè óäàðå'íèé
To put stress marks in files
>>> ru_accent_poet.write_file(['my_file_1.txt'])
This will return new file called "my_file.accented.txt" with the same text where stress marks are put