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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page