find id region from id card
Project description
example
from id_region import get_id_info
id_info = get_id_info('110101199003075678')
'''
id_info is a dict
output just like:
{
'sex': int,
'birthday': date,
'abandoned': False if address_code.get(code['address_code']) else True,
'address': '',
'country': '中国',
'province': 'xx',
'city': 'xx',
'district': 'xxx'
}
'''
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
id-region-0.0.4.tar.gz
(97.0 kB
view hashes)