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 hashes)

Uploaded Source

Built Distribution

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

Uploaded CPython 3.8 Windows x86-64

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