Skip to main content

No project description provided

Project description

konjingjing

A hyper-fast Python module for validating Thai Citizen Card ID written in Rust.

Get Started

$ pip install konjingjing
from konjingjing import verify_id

assert verify_id('1112034563562') # true
assert verify_id('11120345635') == False # false digit is less than 13
assert verify_id('1112034563s62') == False # false mix with alpha

Notes 😋

This is my first python library written in rust. This is another weekend project.

Idea-Fork from

  1. one in npm

Sensei And Inspiration

  1. https://www.youtube.com/watch?v=D9r__qxtRMQ
  2. https://github.com/mre/hyperjson

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

konjingjing-0.1.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

konjingjing-0.1.0-cp38-none-win_amd64.whl (6.1 MB view details)

Uploaded CPython 3.8 Windows x86-64

File details

Details for the file konjingjing-0.1.0.tar.gz.

File metadata

  • Download URL: konjingjing-0.1.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.8.3

File hashes

Hashes for konjingjing-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8b2886c59df0f420f19d1feb37aec34f42f059193f2a53c7e90ffd92d8fd0cd1
MD5 bc7449129f23753eba6169db0ef3df0b
BLAKE2b-256 55d64f2bfc67efe0a401fb4d4a6c23a536f599d4c1092446d423b4c0b5ca342f

See more details on using hashes here.

File details

Details for the file konjingjing-0.1.0-cp38-none-win_amd64.whl.

File metadata

File hashes

Hashes for konjingjing-0.1.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 5f07bf5f33bddd1e40fbc13103cc3ea6d63c95f6fc609f24112cb0ccea37344b
MD5 3d1154dfd1ab19ab8a31b6ba3426bc97
BLAKE2b-256 46bfc5c244e787b0d55fcd2c63617b9149ff46aa47cbb247a1230ff29b1716e5

See more details on using hashes here.

Supported by

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