Python module to validate and extract Indian Mobile, Aadhaar, GST, PAN, etc.
pip install validate-india
Below are the list of documents for which validators are provided in this package:
- Aadhaar
- Mobile Number
- PAN
- GST
- Bank IFSC
- ESIC
- UAN
Below is an example of simple validation for mobile numbers
from validate-india import mobile
if __name__ == '__main__':
if mobile.is_valid('8888899999'):
print('This is a valid mobile number')
else:
print('Invalid mobile number provided')
- Extract PAN Number, Full Name, Father's Name and Date of Birth from an image using OCR.
- Extract Aadhaar Number, Full Name, Date of Birth and Gender from Aadhaar Image using OCR.