Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

number_transcription-1.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

number_transcription-1.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file number_transcription-1.0.0.tar.gz.

File metadata

  • Download URL: number_transcription-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.4.10-200.fc38.x86_64

File hashes

Hashes for number_transcription-1.0.0.tar.gz
Algorithm Hash digest
SHA256 32593ad34aa1a70953f6c66e3f43345186123dd9f062498c6a5d892822f43f6c
MD5 98abc6e2664189f0a5d117a48288137e
BLAKE2b-256 7ca62a1899adfad95a990eccb87b185e52a9d9355475fc6fdf75917d696b3bdc

See more details on using hashes here.

File details

Details for the file number_transcription-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for number_transcription-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d7e09bfad6d4f4c89eaa1c5f7ac52116d64cc31e937e6f502c7fa61ff44c54f
MD5 41557e3e05e7f6fc2f0d3d0db15b365c
BLAKE2b-256 2a1ba928f8e71c66adf9589f7fac19443768dcf7eec8c495fdf940a7e6747f4d

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