Skip to main content

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


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)

Uploaded source

Built Distribution

plural_ru-2018.11.20-py2.py3-none-any.whl (10.5 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page