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.

Files for tckn, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size tckn-1.1.0-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tckn-1.1.0.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

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