pythaiid
Fastest Thai Nationality ID verify and random
Installation
pip install pythaiid
Usage
from pythaiid import thaiid
thaiid.random() # "3629525599913"
thaiid.random() # "9065089544709"
thaiid.verify('1915197333804') # True
thaiid.verify('1201131963762') # False
Development
# Conda env
conda create --name pythaiid python=3.10.4
conda activate pythaiid
pip install -r requirements-dev.txt
python -m flake8 --ignore=E501,F401 pythaiid tests
python -m pytest tests --cov=./ --cov-report=xml
Other languages
- JavaScript: jojoee/thaiid
Release files for pythaiid 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pythaiid-0.1.0.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pythaiid-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / pythaiid-0.1.0.tar.gz
| Download URL | pythaiid-0.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d83356754ebb5afa315a8943a26114f999788fba8d66943ca877f9775d008a14
|
|
BLAKE2b-256 checksum How to use checksums |
61e20681128dd163f121f1e1fa09c9e66c879188155ccd8971ef3efe2fe96d21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/23.6.0 rfc3986/2.0.0 colorama/0.4.5 CPython/3.9.13
|
Release files / pythaiid-0.1.0-py3-none-any.whl
| Download URL | pythaiid-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04bab2b715bd2287b029e11566b9b84c44a7cba7be20286035ddda5bf2176a87
|
|
BLAKE2b-256 checksum How to use checksums |
7d7b7b4240f632dff2f9adf7e76e384b3a97c954c994d8ca1d32f8f171f3bd58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/23.6.0 rfc3986/2.0.0 colorama/0.4.5 CPython/3.9.13
|