PYCONVERTDIGITS
PyConvertdigits is a module that helps you to translate digits from English to other languages.
Features
- Conver English int to other languages and return a string
Install
We recommend install pyconvertdigits through pip install using Python 3.
$ pip install pyconvertdigits
Example
To see available languages:
import pyconvertdigits
convertDigits = pyconvertdigits.conDigits()
languages = convertDigits.available()
print(languages)
#output: ['Bangla', 'Hindi', 'Urdu', 'Malayalam', 'Thai']
To convert English to other languages:
import pyconvertdigits
convertDigits = pyconvertdigits.conDigits()
convertedBangla = convertDigits.to_bangla(1234567890) #convert from English to Bangla
print(convertedBangla)
convertedHindi = convertDigits.to_hindi(1234567890) #convert from English to Hindi
print(convertedHindi)
convertedUrdu = convertDigits.to_urdu(1234567890) #convert from English to Urdu
print(convertedUrdu)
convertedMalayalam = numbers.to_malayalam(1234567890) #convert from English to Urdu
print(convertedMalayalam)
convertedThai = numbers.to_thai(1234567890) #convert from English to Urdu
print(convertedThai)
Metadata
Release files for pyconvertdigits 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyconvertdigits-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pyconvertdigits-0.0.2-py3-none-any.whl
| Download URL | pyconvertdigits-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff2929b7dbe54c08e4604b20e85d85d7f15c26dc34c294fdf3bd80495d262d77
|
|
BLAKE2b-256 checksum How to use checksums |
acb0e6b13fddf284f33d53e1ed1b5a4de1dd4d0b1f2f64320a66f6d872457d14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|