Skip to main content

Python package for working with quantitative numerals in Russian.

Project description

Пакет Python для работы с количественными числительными русского языка.

Установка

pip install russian-numerals
# or
pip install git+https://gitlab.com/djbaldey/russian-numerals.git@master#egg=russian-numerals

Использование в консоли

russian-numerals "1234567890"
russian-numerals --handler=tons "1234567890.123456"
russian-numerals "восемь девятьсот двадцать четыре шестьсот сорок четыре девяносто девять сорок четыре"
russian-numerals --help

Использование в коде Python

from russian_numerals import prepare

print(prepare("1234567890"))
print(prepare("1234567890.123456", "tons"))
print(prepare("восемь девятьсот двадцать четыре шестьсот сорок четыре девяносто девять сорок четыре"))

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

russian-numerals-0.1.3b0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

russian_numerals-0.1.3b0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file russian-numerals-0.1.3b0.tar.gz.

File metadata

  • Download URL: russian-numerals-0.1.3b0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3

File hashes

Hashes for russian-numerals-0.1.3b0.tar.gz
Algorithm Hash digest
SHA256 43e2bf8476fc311355a62a0d66e6a1e9a45836eedde656daa40a6b30f4099182
MD5 206a88baa39f0d1d217d8b1d90400ec4
BLAKE2b-256 33e94e8e52c84ca36de7a752a291e9fc26f976722223e557125e6874633c5877

See more details on using hashes here.

File details

Details for the file russian_numerals-0.1.3b0-py3-none-any.whl.

File metadata

  • Download URL: russian_numerals-0.1.3b0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3

File hashes

Hashes for russian_numerals-0.1.3b0-py3-none-any.whl
Algorithm Hash digest
SHA256 f93ca329f9093c26ff4c5bcf0e44d6c6384fe41c76e70ec1a238bdd3483517f3
MD5 49872d1cc5b465b2bd7c752b0a74dfc7
BLAKE2b-256 95705d2d270b7c19d99100a7c12e4260ecdb921890b83b731d965cc1d9bb62e3

See more details on using hashes here.

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