Python SDK for Kyonis — Agent-native KYC/AML compliance API
Project description
Kyonis Python SDK
Agent-native KYC/AML compliance API. Screen sanctions, verify identities, and run due diligence in 3 lines of Python.
Installation
pip install kyonis
Quick Start
from kyonis import Client
client = Client(api_key="ky_sandbox_...")
# AML Sanctions Screening (< 500ms)
result = client.aml.screen(name="John Doe", country="US")
print(result["risk_level"]) # "clear" | "low" | "medium" | "high" | "critical"
print(result["reasoning"]) # Human-readable explanation
# KYC Verification (< 3s)
kyc = client.kyc.verify(
nom="Dupont",
prenom="Jean",
date_naissance="1990-01-15",
nationalite="FR",
)
print(kyc["risk_score"])
print(kyc["reasoning"])
# Due Diligence (< 10s)
dd = client.due_diligence.run(
entity_name="Acme Corp",
entity_type="company",
country="FR",
depth="enhanced",
)
Features
| Feature | Method | Response Time |
|---|---|---|
| Sanctions Screening | client.aml.screen() |
< 500ms |
| KYC Verification | client.kyc.verify() |
< 3s |
| Due Diligence | client.due_diligence.run() |
< 10s |
| UBO Resolution | client.ubo.resolve() |
< 5s |
| Entity Risk | client.entity.get_risk() |
< 200ms |
| GDPR Export | client.gdpr.export() |
- |
| GDPR Erasure | client.gdpr.erase() |
- |
Error Handling
from kyonis import Client, RateLimitError, AuthenticationError
import time
client = Client(api_key="ky_...")
try:
result = client.aml.screen(name="Test")
except AuthenticationError:
print("Invalid API key")
except RateLimitError as e:
print(f"Rate limited. Retry in {e.retry_after}s")
time.sleep(e.retry_after)
Links
- Dashboard: https://app.kyonis.com
- Documentation: https://docs.kyonis.com
- GitHub: https://github.com/contactkyonis-droid/kyonis
- API Reference: https://docs.kyonis.com/api
License
MIT
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
kyonis-1.0.0.tar.gz
(7.3 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 kyonis-1.0.0.tar.gz.
File metadata
- Download URL: kyonis-1.0.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0dee0ae173536b00c68aa94d7f21c768780638814c22acb074fe1f7d71a48ce
|
|
| MD5 |
9efb97ef328e8dd47020c4e7d41e7da6
|
|
| BLAKE2b-256 |
5affd6690099ce7d5dce07d199ef4a4621a80eb37e58e018d76cf0f14b3e2199
|
File details
Details for the file kyonis-1.0.0-py3-none-any.whl.
File metadata
- Download URL: kyonis-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab7399c0e009f60e22830182e8fff2b2bb0f1043e2e7b18fe0a81442a08db8ac
|
|
| MD5 |
659a9af7b8bd440ad25d49ce75fe6847
|
|
| BLAKE2b-256 |
5d2ba0f3e4a8aca7b12a67bbd60a824b968f4c518cf1c449b4ba3f75c514a43f
|