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.4.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for prelude_sdk-0.9.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa315dc31fc43ca1a31a41979cc34e1aab898b7dd14018061b3085e69fda1df7 |
|
MD5 | cf226450801f8e37a84d0cdc37b556f6 |
|
BLAKE2b-256 | ce51d96ed818c3dcfcb92f7154b25e61bee7b61cd5e65bd6e86193014f27be9f |