Skip to main content

Verify and random Thai Nationality ID

Project description

pythaiid

CI and CD PyPI version fury.io License: MIT codecov

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

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

pythaiid-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pythaiid-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

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

Hashes for pythaiid-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d83356754ebb5afa315a8943a26114f999788fba8d66943ca877f9775d008a14
MD5 33a667453b5975082eaa67e580ef6e92
BLAKE2b-256 61e20681128dd163f121f1e1fa09c9e66c879188155ccd8971ef3efe2fe96d21

See more details on using hashes here.

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

Hashes for pythaiid-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04bab2b715bd2287b029e11566b9b84c44a7cba7be20286035ddda5bf2176a87
MD5 936e4ea9cdb23b7ea8f6a77ff9a26fc4
BLAKE2b-256 7d7b7b4240f632dff2f9adf7e76e384b3a97c954c994d8ca1d32f8f171f3bd58

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page