Skip to main content

Num2Word

This module convert any number/digit to word For e.g. if you pass a number '98498' then, it will return 'Ninety Eight Thousand Four Hundred Ninety Eight'

Installation

Run the following command to install: pip install num2word

Usage

# Import word from num2word
 from num2word import word

 # Generate 'Nine Thousand eighty four'
 word('9284') or word(9284)

 #other examples
 <!-- you can use any bigger number -->
 a = 33221884729877832
 print(word(a)) /*It will print the output*/
 b = '99320489432099000982409203'
 b = word(b)
 <print(b)>/* will print out the the expected output */

Metadata

Release files for num2word 1.0.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 num2word 1.0.1
File Size Uploaded
num2word-1.0.1.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for num2word 1.0.1
File Interpreter ABI Platform
num2word-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.8 kB

Release files / num2word-1.0.1.tar.gz

Download URL num2word-1.0.1.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
251988feabd38a287583a65a687eaac9aae1ffe56a761f00bf08db6892692b93
BLAKE2b-256 checksum
How to use checksums
9650007ace159a560a446c64f7d9fafb7a2a1bde25e620449282966f5c070272
Upload date
Uploaded using Trusted Publishing?
What is 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.5.2

Release files / num2word-1.0.1-py3-none-any.whl

Download URL num2word-1.0.1-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ff4c5add7039766827d35138c79a1f87e6a2f82938f478ddaf476e18785e0fa
BLAKE2b-256 checksum
How to use checksums
9335ed9a4f6c1953631fad797d5219c55449800b46835d21e5cc53390e3d50d5
Upload date
Uploaded using Trusted Publishing?
What is 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.5.2

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

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