num_to_rus
Небольшая библиотека, позволяющая переводить числа в слова на русском языке
Установка
Чтобы установить библиотеку, нужно выполнить следующую команду:
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| num_to_rus-1.1.0.tar.gz | 16.5 kB | Without provenance | Details for num_to_rus-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| num_to_rus-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for num_to_rus-1.1.0-py3-none-any.whl |
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
|
Security for num-to-rus 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.