Skip to main content

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.5.tar.gz (97.0 kB view details)

Uploaded Source

File details

Details for the file id-region-0.0.5.tar.gz.

File metadata

  • Download URL: id-region-0.0.5.tar.gz
  • Upload date:
  • Size: 97.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for id-region-0.0.5.tar.gz
Algorithm Hash digest
SHA256 8eb00eb402b2667a94b98edb22d395103fa7dc6ba6262c39f2317ed9d4e246bb
MD5 fb2635da2eae2a55a338557a90fd577a
BLAKE2b-256 66b560abc840ebe56acc0914cbe460f293422a532b06ee32c900c9d27e8dae70

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