Skip to main content

No project description provided

Project description

chsi 学信网学籍/学历/学位在线验证报告查询

这时一个小工具,用于学信网的学籍/学历/学位在线验证报告查询的获取和解析。

安装

pip install chsi

命令行使用

python -m chsi <在线验证码>
返回结果
{
  "status": true,
  "error": "",
  "info": [
    [
      "title",
      "教育部学历证书电子注册备案表"
    ],
    [
      "update_time",
      "2024年01月01日"
    ],
    [
      "姓名",
      "李四"
    ],
    [
      "性别",
      "男"
    ],
    [
      "出生日期",
      "1970年01月01日"
    ],
    [
      "入学日期",
      "1990年09月01日"
    ],
    [
      "毕(结)业日期",
      "1994年07月01日"
    ],
    [
      "学校名称",
      "举例大学"
    ],
    [
      "专业",
      "计算机科学与技术"
    ],
    [
      "学制",
      ""
    ],
    [
      "层次",
      "本科"
    ],
    [
      "学历类别",
      "普通高等教育"
    ],
    [
      "学习形式",
      "普通全日制"
    ],
    [
      "毕(结)业",
      "毕业"
    ],
    [
      "证书编号",
      "1000 0000 0000 0000 00"
    ],
    [
      "校(院)长姓名",
      "张三"
    ]
  ]
}

出错情形

{
  "status": false,
  "error": "系统检测到非法访问,不合要求的在线验证码!",
  "info": []
}

调用

from chsi import verify
results = verify("<在线验证码>", lang='CN')

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

chsi-0.2.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

chsi-0.2.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file chsi-0.2.0.tar.gz.

File metadata

  • Download URL: chsi-0.2.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.5 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for chsi-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b7b012f303b3b3cb9f51fc5e4f9cc3b48035f409686dd5e59dd53a2077751e50
MD5 0ed4a734bf7a427188f54e52da72a588
BLAKE2b-256 fcd28d93a65ab97d1b2d04692e9ada2ec2cd0a2cd807f9163619b486dd75c9ad

See more details on using hashes here.

File details

Details for the file chsi-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: chsi-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.5 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for chsi-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ce5695e5731f768e085cebf9ef0400acd2a7b222fff72573242154e8d860eee
MD5 7675f09fc8192f2da32212ffec509cc6
BLAKE2b-256 60f2b67942bf9fbade796012a6f5f43dd20ccfed4858fe5ac90ffa20eed3e45d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page