Metadata-Version: 2.4
Name: byteplussdk-arkruntime
Version: 3.0.69
Summary: BytePlus arkruntime SDK for Python — part of the unified BytePlus Python SDK v2 (byteplus-python-sdk-v2).
Home-page: https://github.com/byteplus-sdk/byteplus-python-sdk-v2
Author: byteplus-sdk
Author-email: sdk@byteplus.com
License: Apache License 2.0
Project-URL: Homepage, https://github.com/byteplus-sdk/byteplus-python-sdk-v2
Project-URL: Repository, https://github.com/byteplus-sdk/byteplus-python-sdk-v2
Project-URL: Documentation, https://github.com/byteplus-sdk/byteplus-python-sdk-v2/tree/main/docs
Platform: any
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: byteplussdk-ark==3.0.69
Requires-Dist: byteplussdk-core==3.0.69
Requires-Dist: pydantic<3,>=1.9.0
Requires-Dist: httpx<1,>=0.23.0
Requires-Dist: anyio<5,>=3.5.0
Requires-Dist: sniffio>=1.1
Requires-Dist: typing-extensions>=4.10.0
Requires-Dist: cryptography>=44.0.1
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: platform
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# byteplussdk-arkruntime

BytePlus ModelArk Runtime SDK for Python: the client for model inference on BytePlus ModelArk, such as chat completions and embeddings. Import package: `byteplussdkarkruntime`.

BytePlus ModelArk 模型推理的 Python 客户端，提供对话补全、向量化等能力。导入包：`byteplussdkarkruntime`。

## Install / 安装

```sh
pip install byteplussdk-arkruntime
```

Requires Python >=3.8. / 需要 Python >=3.8。

## Usage / 用法

Set `ARK_API_KEY` (or pass `api_key=...`) and initialize `Ark`:

配置环境变量 `ARK_API_KEY`（或显式传入 `api_key=...`）并初始化 `Ark` 客户端：

```python
import os
from byteplussdkarkruntime import Ark

client = Ark(api_key=os.environ.get("ARK_API_KEY"))
```

## Links / 链接

- Source / 源码: [byteplussdkarkruntime](https://github.com/byteplus-sdk/byteplus-python-sdk-v2/tree/main/byteplussdkarkruntime)
- SDK guide / 接入文档: [English](https://github.com/byteplus-sdk/byteplus-python-sdk-v2/blob/main/docs/0-Overview.md) | [中文](https://github.com/byteplus-sdk/byteplus-python-sdk-v2/blob/main/docs/0-Overview-zh.md)
- Credentials / 访问凭据: [English](https://github.com/byteplus-sdk/byteplus-python-sdk-v2/blob/main/docs/1-Credentials.md) | [中文](https://github.com/byteplus-sdk/byteplus-python-sdk-v2/blob/main/docs/1-Credentials-zh.md)
- Issues: https://github.com/byteplus-sdk/byteplus-python-sdk-v2/issues
