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
from CINvalidator import CINvalidator

if 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.2.tar.gz (14.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: CINvalidator-0.0.2.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for CINvalidator-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2ba49a01be1a63f59e3163aea40f7b300032da71909f4191ad0d23697905e9f4
MD5 39313f6807464bf11cf65652e410d202
BLAKE2b-256 584fb370e00fa40725130e5f8ed81791684e5048e59988b0dbb78d70a79ff439

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