Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 424 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 424 Bytes

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