Official Python SDK for FaceSign identity verification API
Project description
FaceSign Python SDK
The official Python SDK for the FaceSign identity verification API.
Installation
pip install facesign-api
Quick Start
import asyncio
from facesign import FaceSignClient
async def main():
client = FaceSignClient(api_key="sk_test_...")
# Create a verification session
session = await client.sessions.create(
client_reference_id="user-123",
metadata={"source": "python-sdk"},
modules=[{"type": "identityVerification"}]
)
print(f"Session created: {session.session.id}")
print(f"Client secret: {session.client_secret.secret}")
if __name__ == "__main__":
asyncio.run(main())
Features
- Full API Coverage: Complete support for all FaceSign API endpoints
- Type Safety: Built with Pydantic for robust type validation
- Async/Sync Support: Use async/await or synchronous calls
- Comprehensive Error Handling: Detailed error responses with proper typing
Documentation
For detailed documentation, visit https://docs.facesign.ai
License
MIT License - see LICENSE file for details.
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
facesign_api-1.0.19.tar.gz
(14.7 kB
view details)
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 facesign_api-1.0.19.tar.gz.
File metadata
- Download URL: facesign_api-1.0.19.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cb7ed5489f9131c04b50bb9a1ccf586b628744ef255a791ab4446d1a579b7de
|
|
| MD5 |
d35ab652bc4cc2ae1c003f94725ff2e7
|
|
| BLAKE2b-256 |
1eedf0b10a6474574574f3660123effd45a19648b35a5b9167ef69f1791a120e
|
File details
Details for the file facesign_api-1.0.19-py3-none-any.whl.
File metadata
- Download URL: facesign_api-1.0.19-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d179a6ec274e4ebfa5b3cd6bdcdcc6a1c23f7a128ff336a7283b33b4d77ca88
|
|
| MD5 |
d36e25c6aed05e2b0a608052af6b6278
|
|
| BLAKE2b-256 |
2f4a45fdac3ff18fb236946a6b5d7f872f2a29381929f2c68ec319e7b69e3f82
|