Skip to main content
# 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

Metadata

Release files for CINvalidator 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CINvalidator 0.0.7
File Size Uploaded Provenance
CINvalidator-0.0.7.tar.gz 5.7 kB Without provenance Details

Release files / CINvalidator-0.0.7.tar.gz

Download URL CINvalidator-0.0.7.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e6b21fc7c9ebb95b0943a015ac0e461490fc200e52eff0bb8be5b5ab00cdcbd0
BLAKE2b-256 checksum
How to use checksums
57a78f0c78cb347e2c9144d92dc54e559cb4cb663d25f2aa3fe9ac81658128f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for CINvalidator 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page