China Citizen Identification Number Validator
Project description
# CIN-validator
China Citizen Identification (CIN) Number Validator
## Install
```
apt-get install -y python-pip
pip install CINvalidator
```
## Usage
```python
import CINvalidator
if CINvalidator.CINvalidator(441234197001011111):
pass # Actions when the CIN is true.
else:
pass # Actions when the CIN is false.
```
## References
- [最年长者 - 维基百科,自由的百科全书](https://zh.wikipedia.org/wiki/%E6%9C%80%E5%B9%B4%E9%95%B7%E8%80%85)
- [GB 11643-1999 公民身份号码 - 维基文库,自由的图书馆](https://zh.wikisource.org/wiki/GB_11643-1999_%E5%85%AC%E6%B0%91%E8%BA%AB%E4%BB%BD%E5%8F%B7%E7%A0%81)
- [最新县及县以上行政区划代码(截止2014年10月31日)](http://www.stats.gov.cn/tjsj/tjbz/xzqhdm/201504/t20150415_712722.html)
## Contribution
- [Issue](https://github.com/imlonghao/CIN-validator/issues)
- [Pull Request](https://github.com/imlonghao/CIN-validator/pulls)
## License
Licensed under the Apache License, Version 2.0
China Citizen Identification (CIN) Number Validator
## Install
```
apt-get install -y python-pip
pip install CINvalidator
```
## Usage
```python
import CINvalidator
if CINvalidator.CINvalidator(441234197001011111):
pass # Actions when the CIN is true.
else:
pass # Actions when the CIN is false.
```
## References
- [最年长者 - 维基百科,自由的百科全书](https://zh.wikipedia.org/wiki/%E6%9C%80%E5%B9%B4%E9%95%B7%E8%80%85)
- [GB 11643-1999 公民身份号码 - 维基文库,自由的图书馆](https://zh.wikisource.org/wiki/GB_11643-1999_%E5%85%AC%E6%B0%91%E8%BA%AB%E4%BB%BD%E5%8F%B7%E7%A0%81)
- [最新县及县以上行政区划代码(截止2014年10月31日)](http://www.stats.gov.cn/tjsj/tjbz/xzqhdm/201504/t20150415_712722.html)
## Contribution
- [Issue](https://github.com/imlonghao/CIN-validator/issues)
- [Pull Request](https://github.com/imlonghao/CIN-validator/pulls)
## License
Licensed under the Apache License, Version 2.0
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
CINvalidator-0.0.7.tar.gz
(5.7 kB
view details)
File details
Details for the file CINvalidator-0.0.7.tar.gz
.
File metadata
- Download URL: CINvalidator-0.0.7.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6b21fc7c9ebb95b0943a015ac0e461490fc200e52eff0bb8be5b5ab00cdcbd0 |
|
MD5 | ac1d29775df888da334953f90147f71f |
|
BLAKE2b-256 | 57a78f0c78cb347e2c9144d92dc54e559cb4cb663d25f2aa3fe9ac81658128f7 |