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.5.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for prelude_sdk-0.9.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5e2e9a68924a77f74c3bf5e16f9ff0ec285d05691e2f7ac793ca55d6b9c9014 |
|
MD5 | c5c8a44edf5198de3d62b825bdbbdd5a |
|
BLAKE2b-256 | 191bf74bfbd725cd8e47f642ff3529c1db014b89877c31a920b75f0bc71a9bbb |