Metadata-Version: 2.1
Name: volcengine-ark-runtime
Version: 5.0.61
Summary: Volcengine arkruntime SDK for Python — part of the unified Volcengine Python SDK (volcengine-python-sdk).
Home-page: https://github.com/volcengine/volcengine-python-sdk
Author: volc-engine
Author-email: volc-sdk-team@bytedance.com
License: Apache License 2.0
Project-URL: Homepage, https://github.com/volcengine/volcengine-python-sdk
Project-URL: Repository, https://github.com/volcengine/volcengine-python-sdk
Project-URL: Documentation, https://github.com/volcengine/volcengine-python-sdk/tree/master/docs
Platform: any
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: volcenginesdk-ark (==5.0.61)
Requires-Dist: volcenginesdk-core (==5.0.61)
Requires-Dist: pydantic (<3,>=1.9.0)
Requires-Dist: httpx (<1,>=0.23.0)
Requires-Dist: anyio (<5,>=3.5.0)
Requires-Dist: typing-extensions (>=4.7)
Requires-Dist: cryptography (>=44.0.1)
Requires-Dist: cached-property ; python_version < "3.8"

# volcengine-ark-runtime

Volcengine Ark Runtime SDK for Python: the client for model inference on Volcengine Ark (火山方舟), such as chat completions and embeddings. Import package: `volcenginesdkarkruntime`.

火山方舟模型推理的 Python 客户端，提供对话补全、向量化等能力。导入包：`volcenginesdkarkruntime`。

## Install / 安装

```sh
pip install volcengine-ark-runtime
```

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

## Usage / 用法

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

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

```python
import os
from volcenginesdkarkruntime import Ark

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

## Links / 链接

- Source / 源码: [volcenginesdkarkruntime](https://github.com/volcengine/volcengine-python-sdk/tree/master/volcenginesdkarkruntime)
- SDK guide / 接入文档: [English](https://github.com/volcengine/volcengine-python-sdk/blob/master/docs/0-Overview.md) | [中文](https://github.com/volcengine/volcengine-python-sdk/blob/master/docs/0-Overview-zh.md)
- FAQ: [English](https://github.com/volcengine/volcengine-python-sdk/blob/master/FAQ.EN.md) | [中文](https://github.com/volcengine/volcengine-python-sdk/blob/master/FAQ.md)
- Issues: https://github.com/volcengine/volcengine-python-sdk/issues
