For interacting with the Prelude API
Project description
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
pip install prelude-sdk
Quick start
The following example adds a new user to your account:
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)
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
prelude-sdk-0.9.18.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for prelude_sdk-0.9.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 971781c5a4cde774ad9838ec128fd02e17a19ccb4065256154b7e52e423bbadb |
|
MD5 | fd9e4cb4c061aeeb2fe5cba06eaf7494 |
|
BLAKE2b-256 | 51dccae7275bdb5bef87cd398cc8f6190c8d05de286218255efe3077cf4fc8f7 |