Skip to main content

A python library for number to Swahili words conversion

Project description

Tarakimu

https://img.shields.io/pypi/v/tarakimu.svg https://img.shields.io/travis/tehamalab/tarakimu.svg Documentation Status Updates

A python library for number to Swahili words conversion

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.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.

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

tarakimu-0.3.0.tar.gz (13.6 kB view details)

Uploaded Source

File details

Details for the file tarakimu-0.3.0.tar.gz.

File metadata

  • Download URL: tarakimu-0.3.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for tarakimu-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8ac0b1c436f9545b4dbfc82c6d397d8c009f7161dc7e861049744b2e2f587814
MD5 c65da71d723a3beff1f30a930dd4a763
BLAKE2b-256 017ccb3aa065c2d54d147327d91483cf435f5ce5530b0b08020d0492955a2db6

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