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 details)
Built Distribution
File details
Details for the file plural-ru-2018.11.20.tar.gz
.
File metadata
- Download URL: plural-ru-2018.11.20.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5a9f5e1f5d05cbeb90517b865e58d69209c6e589b5578680104c1e9f76dece55
|
|
MD5 |
8794ed92caa3aaff6cbd99545ede7bee
|
|
BLAKE2b-256 |
9d3474f6e3956ad97f89ec8ca9cca1198fa279f01e2fdf18587924fcd1c61427
|
File details
Details for the file plural_ru-2018.11.20-py2.py3-none-any.whl
.
File metadata
- Download URL: plural_ru-2018.11.20-py2.py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0240c9c8f4c09e81b32e3ff50a711469c09847e535cb6a4c64e4630ef0b3de68
|
|
MD5 |
fcbcffda24037a9338e42d0bced9eac5
|
|
BLAKE2b-256 |
3537a6775178eeb14af74962c1e63f9025e72b9f6ca5f51e56db3a96708a6204
|