Skip to main content

It is one of the useful module that can help you to convert English int to other languages

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyconvertdigits-0.0.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pyconvertdigits-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyconvertdigits-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pyconvertdigits-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff2929b7dbe54c08e4604b20e85d85d7f15c26dc34c294fdf3bd80495d262d77
MD5 a7f9ee464643454c565183190bd02fba
BLAKE2b-256 acb0e6b13fddf284f33d53e1ed1b5a4de1dd4d0b1f2f64320a66f6d872457d14

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