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
Metadata
Release files for r-nida 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| r_nida-0.1.0.tar.gz | 469.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| r_nida-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 958.0 kB
Release files / r_nida-0.1.0.tar.gz
| Download URL | r_nida-0.1.0.tar.gz |
|---|---|
| Size | 469.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29c44b7c5b890255e81945e5e2915475c181930dbb28fbaab51db3f3cee22707
|
|
BLAKE2b-256 checksum How to use checksums |
35cf60cd25d3d322ba779fa1d0565565e5f61461c5d49b21a59416231cd8a0dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / r_nida-0.1.0-py3-none-any.whl
| Download URL | r_nida-0.1.0-py3-none-any.whl |
|---|---|
| Size | 488.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78425c48a1e90e6d44ea4f2392f089a8429acfbfcf97d9fa17e125c1112bf449
|
|
BLAKE2b-256 checksum How to use checksums |
15e6944bcfea74810ab18b9ba3c8312fe8fa2e9df9da1514404b5e63dc061490
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|