Skip to main content

No project description provided

Project description

## ru_number_to_text
Преобразует число в слова прописью и добавляет
валюту, которую можно задать
(по умолчанию валюта рубли/копейки)

## Как установить?

pip install number_to_string

## Пример использования:

from number_to_string import get_string_by_number

string = get_string_by_number(123)
assert string == 'Сто двадцать три рубля 00 копеек'

currency_main = ('тенге', 'тенге', 'тенге')
currency_additional = ('тиын', 'тиына', 'тиынов')
string = get_string_by_number(
325,
currency_main,
currency_additional,
)
assert string == 'Триста двадцать пять тенге 00 тиынов'

## Скоро:

Добавление английского языка

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

number_to_string-1.0.3.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file number_to_string-1.0.3.tar.gz.

File metadata

File hashes

Hashes for number_to_string-1.0.3.tar.gz
Algorithm Hash digest
SHA256 7b881c4f12772238fd3812356f485f9b55d7d87894b8d2b1cc874bbe2b9e935f
MD5 5425f050d90aae2bd2d8f1d0bc511052
BLAKE2b-256 d4cd60deede5b7fc2665aaee8009e1db59128c1365b5a9c9ac9f967a2d0e0e35

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