russian plurals
Project description
Install
$ [sudo] pip install plural-ru
Functions
function | description |
---|---|
plural_ru.ru(value, quantitative) |
возвращает строку со склоненным существительным |
CLI
usage | description |
---|---|
python -m plural_ru count quantitative1 quantitative2 quantitative3 |
выводит строку со склоненным существительным |
Examples
>>> import plural_ru
>>> plural_ru.ru(1,["час","часа","часов"])
'час'
>>> ru(25,["минуту","минуты","минут"])
'минут'
readme-md - README.md generator
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plural-ru-2018.11.20.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for plural_ru-2018.11.20-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0240c9c8f4c09e81b32e3ff50a711469c09847e535cb6a4c64e4630ef0b3de68 |
|
MD5 | fcbcffda24037a9338e42d0bced9eac5 |
|
BLAKE2b-256 | 3537a6775178eeb14af74962c1e63f9025e72b9f6ca5f51e56db3a96708a6204 |