SDK for the ML expert Platform on NAVER Cloud Platform
Project description
ML expert Platform SDK
Python ML expert Platform CLI 제품군을 구현하기 위한 공통 SDK 를 제공합니다.
사용 방법
API Key 설정
ML expert Platform SDK를 사용하기 전에 API Key를 설정해야 합니다. 다음 3가지 방법 중 하나를 선택하세요:
1. 환경변수로 설정
export MLX_APIKEY="your-api-key"
export MLX_ENDPOINT_URL="https://your-api-server.com"
2. CLI 명령어로 설정
mlx configure
3. 코드에서 직접 설정
from mlx.sdk.core.config import ConfigFile
config = ConfigFile()
config.apikey = "your-api-key"
config.endpoint_url = "https://your-api-server.com"
기본 사용법
from mlx.sdk.core.base import api_client, BaseMLXWebappAPI
# Method 1: API key를 직접 전달
client = api_client(
mlx_webapp_endpoint="https://your-api-server.com",
api_key="your-api-key",
api_cls=BaseMLXWebappAPI
)
# Method 2: 환경변수나 config에서 자동 로드
client = api_client(
mlx_webapp_endpoint="https://your-api-server.com",
api_cls=BaseMLXWebappAPI
)
개발 환경 구성
1. uv 설치
설치 가이드 참고.
pip 를 통해서도 설치 가능합니다.
pip install uv
2. build
make lock
make build
3. 단위 테스트 실행
make test
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
ncloud_mlx_sdk-0.1.1.tar.gz
(13.1 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
File details
Details for the file ncloud_mlx_sdk-0.1.1.tar.gz.
File metadata
- Download URL: ncloud_mlx_sdk-0.1.1.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74ff0e4ff9b6eda07d8fb7590403ee3580d9da1ff2d4322596819db5b43276d4
|
|
| MD5 |
24dfbc1326ff36a3bd7416e028d70161
|
|
| BLAKE2b-256 |
6aff84357b0f7d18de1110b594db06b0b1a82b1f6748be18c407a1eb15bfe580
|
File details
Details for the file ncloud_mlx_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ncloud_mlx_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0661f8604c7e66059d3d7304aa9b60e87d0655237aaa9d059decd34d05c31764
|
|
| MD5 |
1936e068c9ab098f92ff3d3256be73c8
|
|
| BLAKE2b-256 |
9f7d123ae8feb5ab98277e15b424f7e1f2f81a25b06bb3482a7668f4104cbedf
|