Spaces:
Runtime error
Runtime error
File size: 952 Bytes
85981e2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | # CFI Connector SDK (`cfi-connector-sdk`)
Standardized Bank Connector SDK for the **Collaborative Fraud Intelligence (CFI) Network**.
## Installation
```bash
pip install cfi-connector-sdk
```
For local development and testing:
```bash
pip install -e .[dev]
```
## Features & Adapters
- **`BaseTransactionAdapter`**: Standardized payment schema normalization (`NormalizedTransaction`).
- **`BaseFeatureAdapter`**: Rolling velocity feature calculations (1h count, 24h count, 24h sum).
- **`BaseEntityAdapter`**: Privacy-preserving HMAC-SHA256 customer identifier resolution and payload masking.
- **`LocalFLClient`**: gRPC mTLS communication, HSM payload signing, zlib compression, and DP gradient submission.
- **`ConnectorHealthMonitor`**: Operational health probes for message brokers and X.509 certificate validity.
## Running Tests
```bash
cd sdk/python
pytest -v
```
## Packaging & Building
```bash
python -m build
twine check dist/*
```
|