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.
Metadata
Release files for facesign-api 1.0.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| facesign_api-1.0.19.tar.gz | 14.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| facesign_api-1.0.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.4 kB
Release files / facesign_api-1.0.19.tar.gz
| Download URL | facesign_api-1.0.19.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3cb7ed5489f9131c04b50bb9a1ccf586b628744ef255a791ab4446d1a579b7de
|
|
BLAKE2b-256 checksum How to use checksums |
1eedf0b10a6474574574f3660123effd45a19648b35a5b9167ef69f1791a120e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / facesign_api-1.0.19-py3-none-any.whl
| Download URL | facesign_api-1.0.19-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d179a6ec274e4ebfa5b3cd6bdcdcc6a1c23f7a128ff336a7283b33b4d77ca88
|
|
BLAKE2b-256 checksum How to use checksums |
2f4a45fdac3ff18fb236946a6b5d7f872f2a29381929f2c68ec319e7b69e3f82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|