Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (17 loc) · 349 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 349 Bytes

idcard

get info from id card number

install

pip install idcard

usage

import idcard
print(idcard.parse('1234567890'))
{'province': u'湖南', 'city': '长沙', 'gender': 'male', 'police_station_code': '62', 'district': '雨花区', 'birthday': '2000-01-01 00:00:00', 'valid': True}