Skip to main content

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

Metadata

Release files for tarakimu 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tarakimu 0.3.1
File Size Uploaded
tarakimu-0.3.1.tar.gz 13.7 kB Details

Release files / tarakimu-0.3.1.tar.gz

Download URL tarakimu-0.3.1.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1fbf44ccc389449421fe7b82181a5cf879e5185e186d489f3507f65e729b4ff3
BLAKE2b-256 checksum
How to use checksums
d5f1000fe582cfcc65e061d30d6c153eac92cb0397dd662aa88d3ea18db3f499
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page