Multilanguage library for conversion numbers to words description
Project description
Number Transcription
Multilanguage library for conversion numbers to words description
Installation
pip
pip install number-transcription
poetry
poetry add number-transcription
from source
git clone https://github.com/OlegYurchik/number-transcription
pip install ./number_transcription
Quick Start
import number_transcription as nt
text = nt.russian.number_to_words(100_011)
print(text) # сто тысяч одинадцать
text = nt.russian.number_to_words(
1_015_000,
unit=nt.russian.RussianUnitForm(one="ложка", any="ложки", many="ложек",
gender=nt.enums.GenderEnum.FEMALE),
)
print(text) # один миллион пятнадцать тысяч ложек
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for number_transcription-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32593ad34aa1a70953f6c66e3f43345186123dd9f062498c6a5d892822f43f6c |
|
MD5 | 98abc6e2664189f0a5d117a48288137e |
|
BLAKE2b-256 | 7ca62a1899adfad95a990eccb87b185e52a9d9355475fc6fdf75917d696b3bdc |
Close
Hashes for number_transcription-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d7e09bfad6d4f4c89eaa1c5f7ac52116d64cc31e937e6f502c7fa61ff44c54f |
|
MD5 | 41557e3e05e7f6fc2f0d3d0db15b365c |
|
BLAKE2b-256 | 2a1ba928f8e71c66adf9589f7fac19443768dcf7eec8c495fdf940a7e6747f4d |