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.5.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: num_thai-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 7029cab62a5986d2135339a3a4410725a8e1d34cb1db0762d60a70df538c937e
MD5 2c18acaba269a6f45215f62fbb2be571
BLAKE2b-256 278c4a1ce8d85a040c6f9af2c0f702253633fd85bdaadaea8d410439c3ffaebb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: num_thai-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5ee5786e54449cded9267d147c8591caa657a0f80274a216075d5b769b35c5a9
MD5 6a5dda1b62ca8696dc64e9be225753c9
BLAKE2b-256 6f846b1c42938a923d1625aaec859cdf92bbc8567d9f8366e327eb1f100a2fe7

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