Verify and random Thai Nationality ID
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pythaiid-0.1.0.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pythaiid-0.1.0.tar.gz.
File metadata
- Download URL: pythaiid-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d83356754ebb5afa315a8943a26114f999788fba8d66943ca877f9775d008a14
|
|
| MD5 |
33a667453b5975082eaa67e580ef6e92
|
|
| BLAKE2b-256 |
61e20681128dd163f121f1e1fa09c9e66c879188155ccd8971ef3efe2fe96d21
|
File details
Details for the file pythaiid-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pythaiid-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04bab2b715bd2287b029e11566b9b84c44a7cba7be20286035ddda5bf2176a87
|
|
| MD5 |
936e4ea9cdb23b7ea8f6a77ff9a26fc4
|
|
| BLAKE2b-256 |
7d7b7b4240f632dff2f9adf7e76e384b3a97c954c994d8ca1d32f8f171f3bd58
|