Skip to main content

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.2.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

pesel-0.2.0-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pesel-0.2.0.tar.gz.

File metadata

  • Download URL: pesel-0.2.0.tar.gz
  • Upload date:
  • Size: 7.9 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

Hashes for pesel-0.2.0.tar.gz
Algorithm Hash digest
SHA256 27e27b0fa2add7d50d08a93046a0e019cec6f9194fd3de4386594d35fe510c56
MD5 d0119c91d1f64f7bd9c17299fce716ce
BLAKE2b-256 2451555e32c92e4739843d2cc6275ac59b91a1b700e0775c5f083355bba65a00

See more details on using hashes here.

File details

Details for the file pesel-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pesel-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.6 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

Hashes for pesel-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bda3793f16be1843140c3b8cbef8396b46e84436283013463a0e66fe75980e07
MD5 d986bcd7620c67f44dc47050faf493a6
BLAKE2b-256 7d4114dad3288355c758b6b1c9dd87f96c66c63983d62cb8bbb47a6d3e01cf9b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page