Skip to main content

Integer In Words Lister

This module returns numbers to a list of words

Dependencies

To use this module you need to install humanize and python

Install

pip install IntegerInWordsLister

Usage

from IntegerInWordsLister.InWordsLister import NumericLister

inwords_lister = NumericLister(222)
print(inwords_lister.calculate())

numbers = [120000000000, 9000870000, 245085002120, 23]
for num in numbers:
    inwords_lister = NumericLister(num)
    print(inwords_lister.calculate())

Output

['200', 'and', '20', 'and', '2']
['100', 'and', '20', 'milliard']
['9', 'milliard', 'and', '800', 'and', '70', 'thousand']
['200', 'and', '40', 'and', '5', 'milliard', 'and', '80', 'and', '5', 'million', 'and', '2', 'thousand', 'and', '100', 'and', '20']
['20', 'and', '3']

تبدیل اعداد به حروف

این ماژول اعداد را به لیستی از کلمات برمی گرداند

Metadata

Release files for IntegerInWordsLister 1.1.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 IntegerInWordsLister 1.1.1
File Size Uploaded
IntegerInWordsLister-1.1.1.tar.gz 2.6 kB Details

Release files / IntegerInWordsLister-1.1.1.tar.gz

Download URL IntegerInWordsLister-1.1.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b796270d8209a0cefdb40b3263ab54b40bc56a6243238c3825a6b055ff2ab552
BLAKE2b-256 checksum
How to use checksums
8680c574de699ba532901e7aec9c972530cfd470bb03dbce4aa9a71a8316bb82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.1.1 This release

1 release file

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