Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 582 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 582 Bytes

rusn

Build Status Coverage Status

Small library for getting russian text with singular and plural forms

Instalation

pip install --user rusn

Example

apple_forms = ['яблоко', 'яблока', 'яблок']

rusngettext(1, apple_forms)
>> 'яблоко'

rusngettext(10, apple_forms)
>> 'яблок'