Skip to main content

Number to Amharic words representation package

Project description

Amharic Number to Word

CircleCI
PyPI version PyPI version image Waffle.io - Columns and their card count Coverage Status

Converters Numbers from decimal representation to Amharic language word representation. The package supports numbers up-to 999,999,999,999,999. These are the numbers that could often comeup in real world.

Usage

This package provides one class(am_num2word.Number2WordsConverter) to handle number to words conversion.

import am_num2word

number = 45232945075
converter = am_num2word.Number2WordsConverter()
words, coma_separated = converter.convert(number)
print(words) # አርባ አምስት ቢሊዮን ሁለት መቶ ሰላሳ ሁለት ሚሊዮን ዘጠኝ መቶ አርባ አምስት ሺህ ሰባ አምስት
print(coma_separated) # 45,232,945,075'

How to install

pip install am-num2word

Lincense

MIT License

Copyright (c) 2019 Mitiku Yohannes

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

am_num2word-1.0.2.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file am_num2word-1.0.2.tar.gz.

File metadata

  • Download URL: am_num2word-1.0.2.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.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.7.1

File hashes

Hashes for am_num2word-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f15d23825faa7691baf3a86fcff755e688e29c48a29789798b618a1066916774
MD5 1e67a63bc8f370983e9625c419922175
BLAKE2b-256 7ba492af7e8926a1bf35c3f90e80ee4025580c4ffcd414da1b2faa063aecd038

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page