Metadata-Version: 2.4
Name: licos-dev-sdk
Version: 0.6.0
Summary: LICOS Dev SDK - file generation and model capability clients
Requires-Python: >=3.10
Requires-Dist: beautifulsoup4>=4.12
Requires-Dist: docxtpl>=0.16
Requires-Dist: graphviz>=0.20
Requires-Dist: jinja2>=3.1
Requires-Dist: licos-platform-sdk>=0.7.0
Requires-Dist: matplotlib>=3.9
Requires-Dist: mistune>=3.0
Requires-Dist: openpyxl>=3.1
Requires-Dist: pillow>=10.0
Requires-Dist: pypdf>=5.0
Requires-Dist: python-barcode>=0.15
Requires-Dist: python-docx>=1.1
Requires-Dist: python-pptx>=1.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: qrcode[pil]>=8.0
Requires-Dist: skia-pathops>=0.9.2
Requires-Dist: uharfbuzz>=0.50.0
Requires-Dist: weasyprint>=62.0
Requires-Dist: xlsxwriter>=3.2
Provides-Extra: ppt-master
Requires-Dist: licos-ppt-master-assets==0.0.1; extra == 'ppt-master'
Description-Content-Type: text/markdown

# licos-dev-sdk

服务端模型和文件工具 SDK。模型目录、模型调用及积分检查默认使用项目所有者身份。需要以网页登录用户执行时，在本次请求创建客户端并显式传 `user_token`：

```python
from licos_dev_sdk import LLMClient, check_credit_availability

availability = check_credit_availability(user_token=token, resource_code='LLM_INVOKE')
result = LLMClient(user_token=token).invoke('你好')
```

Token 不含 `Bearer ` 前缀。用户信息来自平台认证结果；不从 `LICOS_CURRENT_USER_ID` 或 `LICOS_USER_TOKEN` 推断网页登录身份。Token 失效直接报错，由调用方更新会话。项目资源归属和平台签发的计费上下文保持独立。

可观测性继续使用项目身份；文件生成无需用户 Token。完整约定见仓库的 `tools/IDENTITY.md`。
