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.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

number_transcription-1.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: number_transcription-1.1.0.tar.gz
  • Upload date:
  • Size: 5.2 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.1.0.tar.gz
Algorithm Hash digest
SHA256 cabecf72cbd19584e1cc7b25236de94cdd41f4392825bb292cd0e1f8d309b287
MD5 596b1c75ee893d63564cd10f58c22989
BLAKE2b-256 9e368bf7e0057221eae707434355d2f050d2ea8e964587384e94fe07ad3fdc96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: number_transcription-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7d9d3c2b360f73711c838aa276b620c794a71e329fa4d4fb7c1c7dd38415491
MD5 0851bb23ca668aaad40ea47fbb02d28f
BLAKE2b-256 f3afa50f7f54bf9906c8cb5cb686f51659ed9e9de4d44960e1a92c5afb3b3539

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page