mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-16 17:47:06 +08:00
- Deleted `test_testing_module.py` as it is no longer needed. - Removed `test_top_level_modules.py` which had no content. - Eliminated `test_transport.py` due to redundancy. - Cleared out `test_wire_codecs.py` as part of the cleanup.
30 lines
383 B
Markdown
30 lines
383 B
Markdown
# AstrBot SDK
|
||
|
||
AstrBot 插件开发 SDK,提供 v4 runtime、worker protocol 和插件工具链。
|
||
|
||
## 安装
|
||
|
||
```bash
|
||
pip install astrbot-sdk
|
||
```
|
||
|
||
## 开发安装
|
||
|
||
```bash
|
||
# 克隆仓库后
|
||
pip install -e .
|
||
|
||
# 或使用 uv
|
||
uv sync
|
||
```
|
||
|
||
## 目录结构
|
||
|
||
```
|
||
astrbot-sdk/
|
||
├── src/
|
||
│ └── astrbot_sdk/ # SDK 主包
|
||
├── pyproject.toml
|
||
└── README.md
|
||
```
|