Skip to main content

No project description provided

Project description

免责声明

本软件不会偷窃、盗用、窃取您的个人信息,也不会上传您的个人信息到任何服务器。仅供计算校验码使用

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: 根据提示输入数字使用

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

prcidcardtool-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prcidcardtool-0.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file prcidcardtool-0.1.1.tar.gz.

File metadata

  • Download URL: prcidcardtool-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for prcidcardtool-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9dee4150f3fac8c0ab5ac4aee2ea5c7a65b7e6bb49fc970d4e388b71bf333ac4
MD5 d4a1ffd803ed2948934e2d3b7ad9b555
BLAKE2b-256 7814d2fbf6145801b1491d7b3289d32e632878e75c53df527105e6086e3032a0

See more details on using hashes here.

File details

Details for the file prcidcardtool-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: prcidcardtool-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for prcidcardtool-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 92eb44cbadeaeb060e27c2bd333c767df5ea8b8bd515dcef4695bf56cdbcdd9c
MD5 af1bf38959bc6fe9cf68bcc57a501aab
BLAKE2b-256 05e1f0673dbacb0048a0df389b8b7fd7936e9ceea3db79348b046aea8f2100fd

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