Validation tools for Malaysian NRIC
Project description
NRIC MY Validator
Python NRIC Malaysia validator
There are 3 function validate_nric, validate_birth_place, and get_birth_date
validate_nric will be used to validate malaysian NRIC / Mykad Number , it will return true if the NRIC malaysia is input correctly.
You just need call the function as the following:
from my_nric import validator
def example():
number = "910502-11-5298"
is_nric_valid = validator.validate_nric(number)
if is_nric_valid:
print("Is Valid")
else:
print("Not Valid NRIC")
#TODO Feature
- Get the possible birthplace
- Get Gender
- MyKad Reader function ... May be
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
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 my_nric-validator-0.0.3.tar.gz.
File metadata
- Download URL: my_nric-validator-0.0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e75743a61ea2cf6d21c85e868c4b7873d7b6196ead8beaa647f9bd462d70729
|
|
| MD5 |
753c8e10a8aa35c9aac08c9434551660
|
|
| BLAKE2b-256 |
058293fa5bcc28cad845d03229624fb0877c112eebf828ddf5f3070d6d41d568
|
File details
Details for the file my_nric_validator-0.0.3-py3-none-any.whl.
File metadata
- Download URL: my_nric_validator-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d5978d7a9ea587178cd7587fdd6778c759ca8594fe890d1bb8b322679137ce3
|
|
| MD5 |
dbac30a3d0b198f01e9bd2e1a9971235
|
|
| BLAKE2b-256 |
d0eeadff70a9385a46731d0f3f26b0d05ef7a68bddca515fef184e0225ffec15
|