awnion / numword-georgia

Python library to convert numbers to words in Georgian

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Numword Georgia

PyPI - Version PyPI - Python Version

Usage

Converts numbers to words

from numword_georgia import translate

for number in [5909, 9999, 7000, 7707, 91]:
    print(f"Number {number} is '{translate(number)}'")
Number 5909 is 'ხუთი ათას ცხრაას ცხრაი'
Number 9999 is 'ცხრაი ათას ცხრაას ოთხმოცდაცხრამეტი'
Number 7000 is 'შვიდი ათასი'
Number 7707 is 'შვიდი ათას შვიდას შვიდი'
Number 91 is 'ოთხმოცდათერთმეტი'

Installation

pip install numword-georgia

License

numword-georgia is distributed under the terms of the MIT license.

About

Python library to convert numbers to words in Georgian

License:MIT License


Languages

Language:Python 100.0%