Skip to main content

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

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)

Uploaded Source

File details

Details for the file CINvalidator-0.0.7.tar.gz.

File metadata

File hashes

Hashes for CINvalidator-0.0.7.tar.gz
Algorithm Hash digest
SHA256 e6b21fc7c9ebb95b0943a015ac0e461490fc200e52eff0bb8be5b5ab00cdcbd0
MD5 ac1d29775df888da334953f90147f71f
BLAKE2b-256 57a78f0c78cb347e2c9144d92dc54e559cb4cb663d25f2aa3fe9ac81658128f7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page