Skip to main content

This convert number to thai text lib

Project description

Number to Thai text

The tool is a convert number to thai text : Python 3.6+.

Features

  • Convert number integer or float to Thai text.
  • Convert thai text to number.

Setup

  • Check version Python and PIP

  • Install lib : num-thai

  • Test lib in python shell

Example

from num_thai.thainumbers import NumThai

num = NumThai()
text = num.NumberToTextThai(1111111111111111)

number = num.TextThaiToNumber("ลบสามสิบเอ็ดจุดแปดหก")

print("Text is ",text)

print("Number is ",number)

About

  • Support digit length 1 - 16 digit.
  • Support minus digit.
  • Support integer or float number.
  • Support thai text

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

num_thai-0.0.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

num_thai-0.0.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file num_thai-0.0.3.tar.gz.

File metadata

  • Download URL: num_thai-0.0.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for num_thai-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4eb8dd82ab52a1423c7dbae79a8dbd5a218f47d7f3672fae667b2a9ff620a961
MD5 515bd31206797df0e6998adabbe79bfb
BLAKE2b-256 131b462df7e0d5bff122ae7bdd64fc8912b8b513a469dd823527299601100372

See more details on using hashes here.

File details

Details for the file num_thai-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: num_thai-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for num_thai-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e45f89244aef4a577a7e7be03ef76c6a42610097685c43a6ffe00d379fd539f1
MD5 b798eb8cb87c2e758b62cffe91bc72d7
BLAKE2b-256 6bf8c98c7e8519bfb66c378399a4c4afb725d81f7be971eb41ef9c8bddd81686

See more details on using hashes here.

Supported by

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