免责声明
本软件不会偷窃、盗用、窃取您的个人信息,也不会上传您的个人信息到任何服务器。仅供计算校验码使用
PRCIDCardTool
这是一个用于计算和校验中华人民共和国居民身份证校验码的工具。
功能
- 计算身份证校验码
- 校验身份证校验码
- 生成身份证号码(仅供计算显示,不会生成真实身份证)
用法
安装
pip install PRCIDCardTool
使用
代码:
import PRCIDCardTool
# 校验身份证校验码
check_id_card(your_id)
# 生成身份证校验码
generate_check_number(your_id_first_17) # 前17位生成
命令行:
usage: PRCIDCardTool [-h] {check,generate_check_code} ...
PRCIDCardTool
positional arguments:
{check,generate_check_code}
check 检查身份证校验码正确
generate_check_code
生成身份证校验码
options:
-h, --help show this help message and exit
cli: 根据提示输入数字使用
Metadata
Release files for PRCIDCardTool 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prcidcardtool-0.1.1.tar.gz | 4.0 kB | Without provenance | Details for prcidcardtool-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prcidcardtool-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for prcidcardtool-0.1.1-py3-none-any.whl |
Total release size: 8.7 kB
Release files / prcidcardtool-0.1.1.tar.gz
| Download URL | prcidcardtool-0.1.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9dee4150f3fac8c0ab5ac4aee2ea5c7a65b7e6bb49fc970d4e388b71bf333ac4
|
|
BLAKE2b-256 checksum How to use checksums |
7814d2fbf6145801b1491d7b3289d32e632878e75c53df527105e6086e3032a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / prcidcardtool-0.1.1-py3-none-any.whl
| Download URL | prcidcardtool-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92eb44cbadeaeb060e27c2bd333c767df5ea8b8bd515dcef4695bf56cdbcdd9c
|
|
BLAKE2b-256 checksum How to use checksums |
05e1f0673dbacb0048a0df389b8b7fd7936e9ceea3db79348b046aea8f2100fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for PRCIDCardTool 0.1.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.