Reads and store user data to validate Sibyl Score
Project description
# SDK Dominator
Based on `Dominator` gun from `Psycho-Pass`, it reads and analyzes user data to determine the risk of user on financial systems.
### Automatic lock user account
If you want to validate user `Tax ID` and lock his account if is fake, you can pass a `Django Model` as parameter and `Dominator` will lock it.
Sample:
```python
from dominator import Dominator
from core.models import User
Dominator().validate_tax_id("...", user=User)
```
`Dominator` will try call `lock_account()` method inside the given model. So you just need create a method to execute anything you may need do if account need be locked.
Based on `Dominator` gun from `Psycho-Pass`, it reads and analyzes user data to determine the risk of user on financial systems.
### Automatic lock user account
If you want to validate user `Tax ID` and lock his account if is fake, you can pass a `Django Model` as parameter and `Dominator` will lock it.
Sample:
```python
from dominator import Dominator
from core.models import User
Dominator().validate_tax_id("...", user=User)
```
`Dominator` will try call `lock_account()` method inside the given model. So you just need create a method to execute anything you may need do if account need be locked.
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
sdk-dominator-0.0.1.tar.gz
(37.8 kB
view hashes)