Official Python SDK for the EasyID identity verification API.
Project description
EasyID Python SDK
Official Python SDK for the EasyID identity verification API.
EasyID 易验云 focuses on identity verification and security risk control APIs, including real-name verification, liveness detection, face recognition, phone verification, and fraud-risk related capabilities.
中文文档: README.zh-CN.md
Install
pip install easyid-python
Quick Start
from easyid import EasyID
client = EasyID("ak_xxx", "sk_xxx")
result = client.idcard.verify2(name="张三", id_number="110101199001011234")
print(result.match)
Supported APIs
- IDCard:
verify2,verify3,ocr - Phone:
status,verify3 - Face:
liveness,compare,verify - Bank:
verify4 - Risk:
score,store_fingerprint - Billing:
balance,records
Configuration
base_urltimeoutsession
Error Handling
Service-side business errors raise APIError.
from easyid import APIError
try:
client.phone.status(phone="13800138000")
except APIError as exc:
print(exc.code, exc.message, exc.request_id)
Security Notice
This is a server-side SDK. Never expose secret in browsers, mobile apps, or other untrusted clients.
Official Resources
- Official website:
https://www.easyid.com.cn/ - GitHub organization:
https://github.com/easyid-com-cn/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easyid_python-1.0.2.tar.gz.
File metadata
- Download URL: easyid_python-1.0.2.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95d3757f6affbd02def6fb2471dafd037bce1a36e5199911f47bba2b2804ac3c
|
|
| MD5 |
f19fd727100d1129b630623f49ba6477
|
|
| BLAKE2b-256 |
dde2a2650ab25ff3956126b445cfa35dcb88303e889abb4ca38143ca1255e702
|
Provenance
The following attestation bundles were made for easyid_python-1.0.2.tar.gz:
Publisher:
publish-python-pypi.yml on easyid-com-cn/easyid-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
easyid_python-1.0.2.tar.gz -
Subject digest:
95d3757f6affbd02def6fb2471dafd037bce1a36e5199911f47bba2b2804ac3c - Sigstore transparency entry: 1205991549
- Sigstore integration time:
-
Permalink:
easyid-com-cn/easyid-python@25334fe0322ed6ad7b29ac2c52f6bc17c63f2d0f -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/easyid-com-cn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-pypi.yml@25334fe0322ed6ad7b29ac2c52f6bc17c63f2d0f -
Trigger Event:
push
-
Statement type:
File details
Details for the file easyid_python-1.0.2-py3-none-any.whl.
File metadata
- Download URL: easyid_python-1.0.2-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbadaa2a406f40099a593885d1ff8a3124e3b0f0842a3f73b423974c3263b057
|
|
| MD5 |
8b36f3c4fedd86eb451bc6c37558a87b
|
|
| BLAKE2b-256 |
af35dfa42720cefae16713f021d63b67ddcb5435a65e332e85db716b64fd2a61
|
Provenance
The following attestation bundles were made for easyid_python-1.0.2-py3-none-any.whl:
Publisher:
publish-python-pypi.yml on easyid-com-cn/easyid-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
easyid_python-1.0.2-py3-none-any.whl -
Subject digest:
cbadaa2a406f40099a593885d1ff8a3124e3b0f0842a3f73b423974c3263b057 - Sigstore transparency entry: 1205991551
- Sigstore integration time:
-
Permalink:
easyid-com-cn/easyid-python@25334fe0322ed6ad7b29ac2c52f6bc17c63f2d0f -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/easyid-com-cn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-pypi.yml@25334fe0322ed6ad7b29ac2c52f6bc17c63f2d0f -
Trigger Event:
push
-
Statement type: