A python library for number to Swahili words conversion
Project description
Tarakimu
A python library for number to Swahili words conversion
Free software: BSD license
Documentation: https://tarakimu.readthedocs.io.
Installation
To install tarakimu library you can use pip:
$ pip install tarakimu
Basic Usage
Examples
Using Python
from tarakimu import num_to_words
num_to_words('88') # returns 'themanini na nane'
num_to_words(88.88) # returns 'themanini na nane nukta nane nane'
num_to_words('-88000000') # returns 'hasi kuadrilioni themanini na nane'
Using command line interface
$ tarakimu numtowords 88 -l sw # writes to the standard output 'themanini na nane'
History
0.3.1 (2019-12-01)
Fixing conversion of very large numbers with decimals to words.
0.3.0 (2019-12-01)
Fixing conversion of very large numbers to words.
Fixing conversion of teens when number is greater than 100 in English.
Flake8 clean ups
0.2.1 (2019-09-17)
Fixing package Manifest to include lang submodule.
0.2.0 (2018-05-15)
Adding multilingual support, Swahili and English.
0.1.0 (2018-05-10)
Package created.