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
keaml-0.1.3.tar.gz
(3.3 kB
view hashes)
Built Distribution
keaml-0.1.3-py3-none-any.whl
(3.6 kB
view hashes)