Skip to main content

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

Metadata

Release files for num-thai 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for num-thai 0.0.5
File Size Uploaded
num_thai-0.0.5.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for num-thai 0.0.5
File Interpreter ABI Platform
num_thai-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / num_thai-0.0.5.tar.gz

Download URL num_thai-0.0.5.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7029cab62a5986d2135339a3a4410725a8e1d34cb1db0762d60a70df538c937e
BLAKE2b-256 checksum
How to use checksums
278c4a1ce8d85a040c6f9af2c0f702253633fd85bdaadaea8d410439c3ffaebb
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / num_thai-0.0.5-py3-none-any.whl

Download URL num_thai-0.0.5-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ee5786e54449cded9267d147c8591caa657a0f80274a216075d5b769b35c5a9
BLAKE2b-256 checksum
How to use checksums
6f846b1c42938a923d1625aaec859cdf92bbc8567d9f8366e327eb1f100a2fe7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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