Skip to main content

A package for reverse engineering with NIDA

Project description

Reverse NIDA

A Python package that attempts to reverse engineer how NIDA (National Identification Authority) numbers are generated and extract basic information from National Identification Numbers (NIN) without using the official NIDA API.

⚠️ Disclaimer

This project is for educational and research purposes only. It attempts to understand the structure and patterns in NIDA numbers through reverse engineering. The accuracy of extracted information is not guaranteed, and this should not be used for official verification purposes.

🚀 Installation

From PyPI

pip install reverse-nida

📖 Usage

Simple Usage (Recommended)

from r_nida import get_basic_info

# Analyze a NIDA number (supports both dashed and compact formats)
nin_dashed = "xxxxxxxx-xxxxx-xxxxx-xx"
nin_compact = "xxxxxxxxxxxxxxxxxxxx"

# Get basic information
info = get_basic_info(nin_dashed, debug=False)
print(info)
# Output: {
#   'BIRTHDATE': '',
#   'GENDER': '',
#   'REGIONCODE':'',
#   'REGION': '',
#   'DISTRICT': '',
#   'WARDCODE':'',
#   'WARD': '',
#   'WARDCODE': '',
#   'STREET': '',
#   'PLACES':'',
# }

# Get full information with debug
info = service.get_basic_info("xxxxxxxx-xxxxx-xxxxx-xx", debug=True)

Setup Development Environment

git clone https://github.com/Henryle-hd/reverse-nida.git
cd reverse-nida

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

r_nida-0.1.0.tar.gz (469.6 kB view details)

Uploaded Source

Built Distribution

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

r_nida-0.1.0-py3-none-any.whl (488.4 kB view details)

Uploaded Python 3

File details

Details for the file r_nida-0.1.0.tar.gz.

File metadata

  • Download URL: r_nida-0.1.0.tar.gz
  • Upload date:
  • Size: 469.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for r_nida-0.1.0.tar.gz
Algorithm Hash digest
SHA256 29c44b7c5b890255e81945e5e2915475c181930dbb28fbaab51db3f3cee22707
MD5 56abb716ec49b2104d53531636be8138
BLAKE2b-256 35cf60cd25d3d322ba779fa1d0565565e5f61461c5d49b21a59416231cd8a0dd

See more details on using hashes here.

File details

Details for the file r_nida-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: r_nida-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 488.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for r_nida-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78425c48a1e90e6d44ea4f2392f089a8429acfbfcf97d9fa17e125c1112bf449
MD5 abe21a59b5a8bffe2ce0a6c439dfd1a2
BLAKE2b-256 15e6944bcfea74810ab18b9ba3c8312fe8fa2e9df9da1514404b5e63dc061490

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