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/
Metadata
Release files for easyid-python 1.0.4
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 | |
|---|---|---|---|---|
| easyid_python-1.0.4.tar.gz | 14.3 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| easyid_python-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.9 kB
Release files / easyid_python-1.0.4.tar.gz
| Download URL | easyid_python-1.0.4.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ca98d4ef3ecd60aced215dd5d0dc903115ce80049bb3024dc3300181e61f78c
|
|
BLAKE2b-256 checksum How to use checksums |
f9429ea4a7e873ab5b2b69d768a5f3bf889c4c56f280934cc572387aa4fb85c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.
Transparency logRelease files / easyid_python-1.0.4-py3-none-any.whl
| Download URL | easyid_python-1.0.4-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b16fb6bac113928d588bcba0c84801a69ec54ae0fd30922189be4f59557187a7
|
|
BLAKE2b-256 checksum How to use checksums |
0d38774c08b4cad5bac7b3dc301854b1fb55ee585027d2a4515b4350b780c769
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.
Transparency logSecurity for easyid-python 1.0.4
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for easyid_python-1.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.
Transparency logA 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.