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-mcp
- API Reference: https://docs.kyonis.com/api-reference/overview
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.1.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.1.tar.gz.
File metadata
- Download URL: kyonis-1.0.1.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 |
2bff006e8247e709602da6b48ff821f7556a9d0abb482db98fbd547f17e5c196
|
|
| MD5 |
d710470e2790edeec8884046159c5b5c
|
|
| BLAKE2b-256 |
cc4874ca44e3866dd33b69c59cf59a7f0c0a6663e4888df7fd52f3602432c5dd
|
File details
Details for the file kyonis-1.0.1-py3-none-any.whl.
File metadata
- Download URL: kyonis-1.0.1-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 |
3615f9cd3b0d0f03577f8d733b38cd509197c75ec324549f10e181b02d810446
|
|
| MD5 |
e53806ac50806dd6f21073024633624d
|
|
| BLAKE2b-256 |
79e725fd2f6f2cd32def9ab6fd5e6bb70098c9a082e440c0251741cbfd12a21f
|