Python SDK for Konan's API
Project description
Getting Started
from konan_sdk.sdk import KonanSDK
if __name__ == '__main__':
# Initialize the SDK. Set verbose to True if you want verbose logging.
sdk = KonanSDK(verbose=False)
# Login user your valid konan credentials
user = sdk.login("<email>", "<password>")
# Define the input data to be passed to your model
input_data = {"feature_1": 1, "feature_2": "abc", }
# Run the prediction
prediction_uuid, ml_output = sdk.predict("<deployment_uuid>", input_data)
# Print the returned output
print(prediction_uuid, ml_output)
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
konan_sdk-1.6.0.tar.gz
(16.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
konan_sdk-1.6.0-py3-none-any.whl
(23.2 kB
view details)
File details
Details for the file konan_sdk-1.6.0.tar.gz.
File metadata
- Download URL: konan_sdk-1.6.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17ad60e6db613755f4759fdc744813e51ca27b5f367001fb175f7ce3ef95500b
|
|
| MD5 |
4fcd263db5deb211ff71b86fd559f406
|
|
| BLAKE2b-256 |
8343ea58c1a22672c102820c7254ff4ebde87ca1e254dbc8ef6c9deff1c3b145
|
File details
Details for the file konan_sdk-1.6.0-py3-none-any.whl.
File metadata
- Download URL: konan_sdk-1.6.0-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8acf7c45dcf1b67cb2dc8ed8f29d1703cd817961c5f2862bb3537909781bc9a8
|
|
| MD5 |
89205381b1ce79789f9ea7a3597b31a3
|
|
| BLAKE2b-256 |
d838399dbc001403337112ceadfb9b1ddb2b88e24046d1b04afb2f31a6cdd5d2
|