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.1b0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

russian_numerals-0.1.1b0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: russian-numerals-0.1.1b0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.3

File hashes

Hashes for russian-numerals-0.1.1b0.tar.gz
Algorithm Hash digest
SHA256 1771f59b0c2b7f1dac9ca458d78c83fc36d09ecb89ce51018a8334217346fb79
MD5 3138d12aa6fa82652f767f008fe9fb10
BLAKE2b-256 911aae213cf8b1f86591368597c37c8385fcd73351c8b282958e7d0f63707e2b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: russian_numerals-0.1.1b0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.3

File hashes

Hashes for russian_numerals-0.1.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 afdacaaa6595206b62f855a701864d4e1d150e174f74c3aaa3191dcb1b090f28
MD5 c15204babe98fd6812f305891c6a436f
BLAKE2b-256 ffb74ab8cf7068890d872012d480984a9bc754faeebde992267b96fd707ef568

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