Skip to main content

A collection of Python validators for various Kazakhstani identification numbers, such as the Individual Identification Number (IIN) and Taxpayer Identification Number (TIN)

Project description

Kazakhstani Validators Package

License: MIT code size

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.

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

py-kz-validators-0.0.2.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

py_kz_validators-0.0.2-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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