Python SDK for Cross-Border Compliance API - sanctions screening against OFAC, EU, UN, UK
Project description
Compliance SDK
Python SDK for the Cross-Border Compliance API.
Installation
pip install compliance-sdk
Quick Start
from compliance_sdk import ComplianceClient
with ComplianceClient(api_key="CB...") as client:
result = client.screen("Vladimir Putin")
if result.success:
print(f"Found {result.total_matched} matches in {result.query_time_ms}ms")
for match in result.matches:
print(f" [{match.confidence_score:.0%}] {match.entity_name} ({', '.join(match.matched_sources)})")
Batch Screening
with ComplianceClient(api_key="CB...") as client:
result = client.screen_batch([
{"entity_name": "Vladimir Putin"},
{"entity_name": "Kim Jong Un"},
{"entity_name": "al qaeda"},
])
print(f"Matched {result.total_matched} entities")
Data Sources
| Source | Entities |
|---|---|
| OFAC (US Treasury) | 18,707 |
| UK FCDO | 6,042 |
| EU CFSP | 5,840 |
| UN Security Council | 1,004 |
| Total | 31,593 |
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
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 compliance_screening-1.0.1.tar.gz.
File metadata
- Download URL: compliance_screening-1.0.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71572d47f2b9f5660f98863b017e2ff8791f1fa6dc6a9b6ca1fddfa6ba71df54
|
|
| MD5 |
dbf82d9d3b45c54adeefe6b9497bec99
|
|
| BLAKE2b-256 |
14083247de050fdc96745bd1071a0e253688483d4d3f09b7ad507129eefac045
|
File details
Details for the file compliance_screening-1.0.1-py3-none-any.whl.
File metadata
- Download URL: compliance_screening-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5691acd8694a010706e1285de491f536bd4d12a8360e9aa153628b59a053f346
|
|
| MD5 |
fd11fc497e3158dc91c4a67a9b6a419d
|
|
| BLAKE2b-256 |
0ce3ea525df0a9695df259bc355f1084970fc5a8837ccf0cf09e20717dafaff9
|