Polish PESEL
Project description
pypesel
PESEL Python module
PESEL is the national identification number used in Poland since 1979. It always has 11 digits, identifies just one person and cannot be changed to another one (except some specific situations such as gender reassignment).
Installation
pip install pesel
Usage
from pesel import Pesel
random_pesel = Pesel.generate()
random_pesel_male = Pesel.generate(male=True)
random_pesel_2021 = Pesel.generate(year=2021)
pesel = Pesel("65432101239")
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
pesel-0.1.1.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for pesel-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcdfdfd153b18e4c5640f78fe70ded9b56244c591e5f267c4422d1cd516997f8 |
|
MD5 | 399809bf7fe5eba38a8ce695f3a56319 |
|
BLAKE2b-256 | d07a8f4264337bf17e446456c3b2dc0565a89a8415be5f52a4e8f83848098bdb |