Metadata-Version: 2.1
Name: prelude-sdk
Version: 0.9.17
Summary: For interacting with the Prelude API
Home-page: https://github.com/preludeorg
Author: Prelude Research
Author-email: support@prelude.org
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# Prelude SDK

Use this utility if you want direct access to the Prelude API.

> The prelude-cli utility wraps around this SDK to provide a rich command line experience.

## Modules

This SDK allows you to interact with several Prelude modules:

* Accounts (AccountController)
* Database (DatabaseController)
* Detect (DetectController)

## Install

```bash
pip install prelude-sdk
```

## Quick start

The following example adds a new user to your account:

```python
from detect_sdk.controllers.account_controller import AccountController
from detect_sdk.models.account import Account
from detect_sdk.models.codes import Permission


controller = AccountController(account=Account())
token = controller.create_user(permission=Permission['SERVICE'].value)
```
