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.15.tar.gz
(5.2 kB
view hashes)
Built Distributions
Close
Hashes for prelude_sdk-0.9.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f44cb7314695a4a96f9d4fedb18a87e16350f1ec4bce77f8d681b0694f79f83 |
|
MD5 | 1a82a87fdbfed0a9c71d5f0107dce34b |
|
BLAKE2b-256 | af491c93fda866e9f9a611289f72908fe17af522c834f5773216d16a74988630 |
Close
Hashes for prelude_sdk-0.9.15-1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19e3f0e0d3fbf4bb67aea44c93be58b172db53e08574797d9efbb1bceb8c0e09 |
|
MD5 | 653c1d7f8ae4e09d42e1c3c2b122d28c |
|
BLAKE2b-256 | 196499b97e2fe29713e4f26cbbc1affa62535313372db68d6a37b1065b40b176 |