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.11.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for prelude_sdk-0.9.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8550c7afbc93a3a2d414b0e246a74713b381b70cba233edc902521301e5f157 |
|
MD5 | 8d987fb883e2b9e99f1bebcf8a044a55 |
|
BLAKE2b-256 | 787ffec01b9df1cafde855b2e2d36ffaea2fef90280bd0565e91637853a8e520 |