Skip to content
Who are you?
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__pycache__
README.md
__init__.py
map.py
region.py
validity.py

README.md

who

安装

初次安装

pip install who

升级

pip install -U who

快速开始

from who import get_region
from who import validity_check

# 根据身份证前面2~6位号码,查询所在省市县地区
result = get_region(320)
print(result)

# 校验一个身份证号码是否是合法号码
id="440304199010104562"
result = validity_check(id)
print(result)
You can’t perform that action at this time.