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

Uploaded Source

Built Distribution

pesel-0.1.1-py2.py3-none-any.whl (7.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pesel-0.1.1.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

Hashes for pesel-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c9abec077e7ea25b6e28ab5b332d44d6d724519331c1ccde62bc1071e8a388e5
MD5 a66d85f05a5d58d03df79c3a805903ea
BLAKE2b-256 4a61dd5fa940bbc4a707d575b4d05870e5603f3a100b926a8a7c0a4f895d27a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pesel-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fcdfdfd153b18e4c5640f78fe70ded9b56244c591e5f267c4422d1cd516997f8
MD5 399809bf7fe5eba38a8ce695f3a56319
BLAKE2b-256 d07a8f4264337bf17e446456c3b2dc0565a89a8415be5f52a4e8f83848098bdb

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