KeaML Python SDK
Project description
KeaML Deployments
This is a Python library that serves as an SDK for deploying models in KeaML. It provides a simple way to initialize a client and deploy machine learning models.
Table of Contents
Installation
You can install the latest version of KeaML SDK from PyPI:
pip install keaml
Getting Started
Before you can use KeaML SDK, you'll need to initialize the client with an API key.
API Key
To get your API key, visit KEAML Settings and generate a new API key.
Usage
Here's a simple example to get you started:
import keaml
# Initialize the client with your API key
kea_client = keaml.init(api_key="your_api_key_here")
# Deploy a machine learning model
kea_client.deploy(model_object, model_name, framework_name)
Methods
init(api_key: str) -> KeaMLSDKClient
Initializes the KeaML SDK client.
-
Parameters:
api_key(str): Your KEAML API key.
-
Returns:
- An instance of
KeaMLSDKClient.
- An instance of
KeaMLSDKClient.deploy(model: Any, name: str, framework: str) -> None
Deploys a machine learning model.
-
Parameters:
model(Any): The machine learning model object.name(str): The name of the model.framework(str): The framework used for the model (e.g., "tensorflow", "pytorch").
-
Returns:
- None
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
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
File details
Details for the file keaml-0.1.3.tar.gz.
File metadata
- Download URL: keaml-0.1.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa94bed9c9fa4d3e8c686797cac5774a7c006c0182dbd696acd4df920eabe060
|
|
| MD5 |
b0e5c9c61421427b23c82b1ecbc29857
|
|
| BLAKE2b-256 |
8e7a28b5c5d84721140e3001af8d1778b37f39dcd0b4314d61dbb802bc7fa2ac
|
File details
Details for the file keaml-0.1.3-py3-none-any.whl.
File metadata
- Download URL: keaml-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
693b1ba4b7b425936a57b3b297166fcb2c39da57517186529536f8bb733eb3b3
|
|
| MD5 |
1457d38bd5ab7278953eafbfb4f7191c
|
|
| BLAKE2b-256 |
7f047baa4d8273de5b34b96038d0e2697f2e51ed19bf01220bf6309ce3d6d84d
|