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.10.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for prelude_sdk-0.9.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 804de9acc74cbb4e660a605a42b634f4834f053ac85390599cfe98b097945c1c |
|
MD5 | 5324e9b2b6bfef6b3b5e71d4c1ec7c8f |
|
BLAKE2b-256 | 503e6e4ffca93a4fcaea2c81bd66fe551a7a0085d7ebe0ecd16450ce62d1d992 |