Skip to main content

关于ChinaIDCard

这是一个进行身份证计算的ID库,主要应用场景为对身份证的合法性进行效验。

函数调用

目前版本,提供了下列函数:

check_ID_Card(ID Card) # 验证18位身份证是否在算法意义上合法

calculation_17ID_Card_code18(ID Card) # 通过身份证前17位获取第18位

generate_ID_Card() # 随机获取一个合法的身份证

验证

我们是通过http://www.ip33.com/shenfenzheng.html进行验证的结果

算法也来自于此网站

Metadata

Release files for ChinaIDCard 0.0.1

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

Source distribution (sdist)

Source distribution for ChinaIDCard 0.0.1
File Size Uploaded Provenance Actions
ChinaIDCard-0.0.1.tar.gz 2.0 kB Without provenance Details for ChinaIDCard-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ChinaIDCard 0.0.1
File Interpreter ABI Platform Actions
ChinaIDCard-0.0.1-py3-none-any.whl Python 3 none any Details for ChinaIDCard-0.0.1-py3-none-any.whl

Total release size: 4.4 kB

Release files / ChinaIDCard-0.0.1.tar.gz

Download URL ChinaIDCard-0.0.1.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
edf7ed98c3ed4cfa7e750be48ace012131226f7e9fec76b91fc35e49778d28c2
BLAKE2b-256 checksum
How to use checksums
0469e17e0d20013d4ec3802bde4aca70551cddea2ef61b72efa75e1efe07d9ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / ChinaIDCard-0.0.1-py3-none-any.whl

Download URL ChinaIDCard-0.0.1-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8dc510c87690bb040c23c1e69d688f4cff8ab702397a72c0cf3ca9cc8c403618
BLAKE2b-256 checksum
How to use checksums
66e922b86ba9271e19d9eebcc3fc0b1d79a90468e2c34ea967c06b77ce812b62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Security for ChinaIDCard 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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