Skip to main content

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

Metadata

Release files for ncloud-mlx-sdk 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ncloud-mlx-sdk 0.1.1
File Size Uploaded
ncloud_mlx_sdk-0.1.1.tar.gz 13.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ncloud-mlx-sdk 0.1.1
File Interpreter ABI Platform
ncloud_mlx_sdk-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.2 kB

Release files / ncloud_mlx_sdk-0.1.1.tar.gz

Download URL ncloud_mlx_sdk-0.1.1.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
74ff0e4ff9b6eda07d8fb7590403ee3580d9da1ff2d4322596819db5b43276d4
BLAKE2b-256 checksum
How to use checksums
6aff84357b0f7d18de1110b594db06b0b1a82b1f6748be18c407a1eb15bfe580
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release files / ncloud_mlx_sdk-0.1.1-py3-none-any.whl

Download URL ncloud_mlx_sdk-0.1.1-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0661f8604c7e66059d3d7304aa9b60e87d0655237aaa9d059decd34d05c31764
BLAKE2b-256 checksum
How to use checksums
9f7d123ae8feb5ab98277e15b424f7e1f2f81a25b06bb3482a7668f4104cbedf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page