Skip to main content

A Python package to extract information from Indonesian ID Number (NIK, KK)

Project description

nomiden

nomiden code example

What is it?

nomiden is a Python package that provides information extraction from Indonesian ID Numbers, i.e. personal ID number NIK (Nomor Induk Kependudukan) and family ID number KK (Kartu Keluarga). This package is intended to help users dealing with population and client data to auto-complete missing data or add valuable information, given the ID numbers. Information regarding identity numbers refers to Article 33 of Government Regulation Number 37 of 2007 (Pasal 37 PP Nomor 37 Tahun 2007).

Main Features

Here are the things that nomiden can do for you:

  • Retreive regional information
    • Province
    • City
    • District
  • Retreive gender information (NIK only)
  • Retreive birth information (NIK only)
    • Age
    • Birthday (e.g. 15 June 2000)
    • Birth date
    • Birth month
    • Birth year
    • Birth in datetime
  • Retreive registration information (KK only)
    • Registration day (e.g. 15 June 2000)
    • Registration date
    • Registration month
    • Registration year
    • Registration in datetime
  • Registration order
  • Complete information in a dictionary

Where to get it

The source code is currently hosted on GitHub at: https://github.com/divakartika/nomiden

nomiden is available at the Python Package Index (PyPI).

pip install nomiden

Requirements & Dependencies

License

MIT

Documentation

https://nomiden.readthedocs.io

Development

This package was built under Python 3.10.8 for Windows 10 and passed the Github Actions: Python package tests under Python 3.8, 3.9, and 3.10 for Ubuntu-latest, MacOS-latest, Windows-latest. To contribute for development, please use requirements.txt.

Data Source

Region code data used in this package is retrieved from kodewilayah based on the Regulation of the Minister of Home Affairs number 72 of 2019 (Permendagri No. 72 tahun 2019).

Release Notes

v0.0.7

Bug fixes and performance improvement.

v0.0.6

Return NaN if birth date (NIK) or registration date (KK) is invalid.

v0.0.5

Return NaN if region code is invalid.

Getting Help & Discussion

For usage questions and development discussions, feel free to contact diva@algorit.ma.

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

nomiden-0.0.7.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nomiden-0.0.7-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file nomiden-0.0.7.tar.gz.

File metadata

  • Download URL: nomiden-0.0.7.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for nomiden-0.0.7.tar.gz
Algorithm Hash digest
SHA256 28949917b6a769a09b61697c8af00a05d59473d4a27bb8b8972e50a340b0f65e
MD5 9086064c893b35d9f87cae3dd29bead8
BLAKE2b-256 e4ce348624ee8210e289e24eb52233a1d575cab24157d9ec13f317cfe0f94e0c

See more details on using hashes here.

File details

Details for the file nomiden-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: nomiden-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for nomiden-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e1532cc151ef5f9b5a9ece0d8894177eb650f391ba68fe2051d0269c62717939
MD5 8a96588d2588860203d7e901c2f3d8f0
BLAKE2b-256 4981e094501ffa9842a150cc269cc0944a76a9eaa38be9860cf494846ef3bb7b

See more details on using hashes here.

Supported by

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