Kazakhstani Validators Package
A collection of Python validators for various Kazakhstani identification numbers, such as the Individual Identification Number (IIN) and Taxpayer Identification Number (TIN)
Installation
pip install py-kz-validators
Usage
Here are the available validators:
1. Individual Identification Number (IIN)
The IIN validator checks whether a given string represents a valid Kazakhstani Individual Identification Number.
from kz.validators import IIN
if IIN.is_valid('791028302728'):
print('IIN is valid')
else:
print('IIN is not valid')
This code will output IIN is valid since the IIN 791028302728 is a valid Kazakhstani Individual Identification Number
Contributing
Contributions are welcome! If you have any suggestions or issues, please open an issue or pull request on the GitHub repository.
Local Installation for Contributors
make dev-deps
After making any changes, don't forget to run flake8(make lint) and tests(make test).
License
This package is licensed under the MIT License. See the LICENSE file for more information.
Release files for py-kz-validators 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py-kz-validators-0.0.2.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_kz_validators-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / py-kz-validators-0.0.2.tar.gz
| Download URL | py-kz-validators-0.0.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3902826cc846a04167aa623280b3d591a89d523ea8dc7eb942d8cf582c3b189
|
|
BLAKE2b-256 checksum How to use checksums |
593e460ad692ec9bcdb21a74072811aac817b5174e2b81b3dc3aa3011d03ac89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / py_kz_validators-0.0.2-py3-none-any.whl
| Download URL | py_kz_validators-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac0296714175c77fba3bb36d633c9aee555a3c1489b921e7b6c5f508d1a23d96
|
|
BLAKE2b-256 checksum How to use checksums |
8ed695e9effb0712d59f79e81abb69dbd4c15a2fb09bf4d79211100492ce9b10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|