Skip to main content

A library for generating and validating Republic of Turkey identity numbers

Project description

tckn

PyPI version

tckn is a library for generating and validating Republic of Turkey identity numbers. It exposes two functions: generate and validate.

Installation

poetry add tckn

or

pip install tckn

Usage

>>> import tckn
>>> tckn.generate()
'21862110720'
>>> tckn.validate('43650391326')
True

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

tckn-1.1.0.tar.gz (2.4 kB view hashes)

Uploaded source

Built Distribution

tckn-1.1.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page