Skip to content
/ rusn Public

Small library for getting russian text with singular and plural forms

License

Notifications You must be signed in to change notification settings

icetemple/rusn

Repository files navigation

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)
>> 'яблок'