Skip to main content

склонение существительных с числительными

Installation

$ [sudo] pip install plural-ru

Functions

function __doc__
plural_ru.ru(value, quantitative) возвращает строку со склоненным существительным

CLI

usage __doc__
python -m plural_ru count quantitative1 quantitative2 quantitative3 выводит строку со склоненным существительным

Examples

>>> import plural_ru
>>> plural_ru.ru(1,["час","часа","часов"])
'час'
>>> ru(25,["минуту","минуты","минут"])
'минут'

readme-generator

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-2019.3.22.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plural_ru-2019.3.22-py2.py3-none-any.whl (134.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file plural-ru-2019.3.22.tar.gz.

File metadata

  • Download URL: plural-ru-2019.3.22.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for plural-ru-2019.3.22.tar.gz
Algorithm Hash digest
SHA256 ad2b3394ae0dbe46881257cd459d258493db4cd37357dddd532c487dd43f266d
MD5 c402534d1547c88be0dc711926210e21
BLAKE2b-256 99ea15bd8ab0973d9204f737c789c6b53094ea593c26715a70237ee5baa73944

See more details on using hashes here.

File details

Details for the file plural_ru-2019.3.22-py2.py3-none-any.whl.

File metadata

  • Download URL: plural_ru-2019.3.22-py2.py3-none-any.whl
  • Upload date:
  • Size: 134.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for plural_ru-2019.3.22-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a49adeacd2f3554b3f41a776ee912a9189993f975978b577c14674e7a4c633c5
MD5 a789b655d47648800407e9d8f40a7d02
BLAKE2b-256 d59f62eb2ce62001d384ac3d628c593af143c79d8ba47e8dfe00693b9a243a9a

See more details on using hashes here.

Release history Release notifications | RSS feed

2020.12.3

1 file

2020.7.1

1 file

2019.4.13

1 file

This release

2019.3.22 This release

2 files

2018.11.20

2 files

0.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page