Skip to main content

num_to_rus

codecov GitHub Actions PyPI version

Небольшая библиотека, позволяющая переводить числа в слова на русском языке

Установка

Чтобы установить библиотеку, нужно выполнить следующую команду:

pip install num_to_rus

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

Для того, чтобы использовать библиотеку, нужно импортировать Converter из num_to_rus, создать его экземпляр и вызвать у него метод convert, которому передать число, которое нужно конвертировать

from num_to_rus import Converter

conv = Converter()

print(conv.convert(512)) # 'пятьсот двенадцать'

Тестирование

Чтобы запустить тесты, нужно выполнить следующую команду:

python -m unittest

Лицензия

Проект находится под лицензией GPL-3.0

Metadata

Release files for num-to-rus 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for num-to-rus 1.1.0
File Size Uploaded
num_to_rus-1.1.0.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for num-to-rus 1.1.0
File Interpreter ABI Platform
num_to_rus-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.2 kB

Release files / num_to_rus-1.1.0.tar.gz

Download URL num_to_rus-1.1.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
87f7bdd3bb3fb9839ad2dccd14f1a5354abc20843cfccb4c79610002cf28942e
BLAKE2b-256 checksum
How to use checksums
13589c1ca8d24f839c140b22c0bf87c92bfb93b52b94858207aefdc6f5e73d07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

Release files / num_to_rus-1.1.0-py3-none-any.whl

Download URL num_to_rus-1.1.0-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7b1811b863af4f2e22d0715ac9331f97eedd570f94c646ce941daf825c520a8
BLAKE2b-256 checksum
How to use checksums
882e083b1f416deebc1b31f13ba2f5020d1c4d2fdd9a8fd3695e2a5e9a997920
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page