Metadata-Version: 2.1
Name: volcenginesdk-llmshield
Version: 5.0.61
Summary: Volcengine llmshield 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.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: volcenginesdk-core (==5.0.61)
Requires-Dist: volcenginesdk-sts (==5.0.61)
Requires-Dist: pydantic (<3,>=2)
Requires-Dist: requests (<3,>=2)

# volcenginesdk-llmshield

Volcengine LLM Shield SDK for Python, a split distribution of the unified Volcengine Python SDK (`volcengine-python-sdk`). Import package: `volcenginesdkllmshield`.

火山引擎大模型应用防火墙（LLM Shield）Python SDK，是火山引擎统一 Python SDK（`volcengine-python-sdk`）的分包。导入包：`volcenginesdkllmshield`。

## Install / 安装

```sh
pip install volcenginesdk-llmshield
```

Requires Python >=3.8. / 需要 Python >=3.8。 To install every service at once, use `pip install volcengine-python-sdk`. / 一次安装全部服务：`pip install volcengine-python-sdk`。

## Usage / 用法

Initialize `ClientV2` with your endpoint URL, Access Key, Secret Key, region, and timeout:

通过 `ClientV2` 显式传入服务端点、AK/SK、Region 与超时时间进行初始化：

```python
from volcenginesdkllmshield import ClientV2

client = ClientV2(
    url="https://<llm-shield-endpoint>",
    ak="<your-access-key>",
    sk="<your-secret-key>",
    region="cn-beijing",
    timeout=30,
)
```

## Links / 链接

- Source / 源码: [volcenginesdkllmshield](https://github.com/volcengine/volcengine-python-sdk/tree/master/volcenginesdkllmshield)
- 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
