tarakimu package

Submodules

tarakimu.utils module

tarakimu.utils.get_lang(lang)[source]

Get module for a give language.

Args:

lang (str): code representing the language.

CUrrently the supported laguages are ‘sw’ and ‘en’ for Swahili and English.

tarakimu.utils.num_to_words(number, lang='sw', **kwargs)[source]

Get number in words.

Args:

number (int): a numerical value to be converted.

**kwargs: a optional keyword arguments
use_lakh (bool): use lakh numbering system in Swahili.
Returns:
str: words reprenting a number.

Module contents

Top-level package for tarakimu.