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.4.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file num_thai-0.0.4.tar.gz
.
File metadata
- Download URL: num_thai-0.0.4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91cc93e54acb94fad63b706789506eaca59e5623637d85c1730f947769a16074 |
|
MD5 | 8adc47381418c95dc530e9d8d46c93ca |
|
BLAKE2b-256 | 7a8f343df3367f01e2110281526cfb98183bde554c287c49c5e343d2e519496a |
File details
Details for the file num_thai-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: num_thai-0.0.4-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f9eb9b34a1d53268faf55f58f0a05f44ee0b7791d675824d98783720b9a8751 |
|
MD5 | 6bf9d72a0a828580a29ab40907b711ea |
|
BLAKE2b-256 | d8cc965b7dae6d83d254d682101cc43d3627218371f534644ea1ec7abc5aa8a7 |