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

Uploaded Source

Built Distribution

russian_numerals-0.1b0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: russian-numerals-0.1b0.tar.gz
  • Upload date:
  • Size: 7.3 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.1b0.tar.gz
Algorithm Hash digest
SHA256 bf95c4ed7ae321dffef75ac3d5839a78f5d7fdf303b1c070cac897026a918479
MD5 06e3aae6eb94a8d6c664dc7ebd7a4143
BLAKE2b-256 3004bb5d0fcaa4e3a8f31fc6562d494ccb9d2e2bb77cc72e0b2c870fb3ba2977

See more details on using hashes here.

File details

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

File metadata

  • Download URL: russian_numerals-0.1b0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 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.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe577ab35d7d0bc293ac994497b9ff252d3da0371b84cbb424b7862921c889f1
MD5 c21b929bfa63c981d57764d155ffcbb2
BLAKE2b-256 dcc48fb44e7edabbeab706056b362fc12c18f4b6b6dbe1a3bf178c825514b5f8

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