Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compliance_screening-1.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

compliance_screening-1.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for compliance_screening-1.0.1.tar.gz
Algorithm Hash digest
SHA256 71572d47f2b9f5660f98863b017e2ff8791f1fa6dc6a9b6ca1fddfa6ba71df54
MD5 dbf82d9d3b45c54adeefe6b9497bec99
BLAKE2b-256 14083247de050fdc96745bd1071a0e253688483d4d3f09b7ad507129eefac045

See more details on using hashes here.

File details

Details for the file compliance_screening-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for compliance_screening-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5691acd8694a010706e1285de491f536bd4d12a8360e9aa153628b59a053f346
MD5 fd11fc497e3158dc91c4a67a9b6a419d
BLAKE2b-256 0ce3ea525df0a9695df259bc355f1084970fc5a8837ccf0cf09e20717dafaff9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page