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.0.tar.gz
(7.1 kB
view details)
Built Distribution
File details
Details for the file pesel-0.1.0.tar.gz
.
File metadata
- Download URL: pesel-0.1.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18c3495a2f66a04ee2dd0862503ade0386c0c92298e94f1144c1d2ff7b590109 |
|
MD5 | 157a11f608e3788893e43cea8829280f |
|
BLAKE2b-256 | 4065df335e0a7e6d65df3813164b2564d77c14bf1c83ee914da2656b857ee5ae |
File details
Details for the file pesel-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pesel-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563065aaeaf452902cdf974e0e31a45077a2958345269e164beb4cda0d574a1c |
|
MD5 | 551a1f4cc8fc7ccb8eb44621e0820612 |
|
BLAKE2b-256 | 34346cc7a03837e8a0ead8989d0e94cfcc83a7fab3746b8f198209d9a5a272bf |