Metadata-Version: 2.1
Name: ayaka
Version: 0.0.4.7b0
Summary: 猫猫，猫猫！
Home-page: https://bridgel.github.io/ayaka/
License: MIT
Author: Su
Author-email: wxlxy316@163.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Provides-Extra: console
Provides-Extra: gocq
Provides-Extra: nb2ob11
Provides-Extra: playwright
Requires-Dist: ayaka-db (>=0.0.3)
Requires-Dist: ayaka-utils (>=0.0.4)
Requires-Dist: fastapi (>=0.87.0,!=0.89.0,<1.0.0) ; extra == "gocq" or extra == "console"
Requires-Dist: httpx (>=0.20.0,<1.0.0)
Requires-Dist: nonebot-adapter-onebot (>=2.2.0) ; extra == "nb2ob11"
Requires-Dist: nonebot2 (>=2.0.0b5) ; extra == "nb2ob11"
Requires-Dist: playwright (>=1.17.2) ; extra == "playwright"
Requires-Dist: pydantic (>=1.10.0)
Requires-Dist: uvicorn[standard] (>=0.20.0,<1.0.0) ; extra == "gocq" or extra == "console"
Project-URL: Repository, https://github.com/bridgeL/ayaka
Description-Content-Type: text/markdown

<div align="center">

# Ayaka - 猫猫，猫猫！ - 0.0.4.6

![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ayaka)
![PyPI - Downloads](https://img.shields.io/pypi/dm/ayaka)
![PyPI - License](https://img.shields.io/pypi/l/ayaka)
![PyPI](https://img.shields.io/pypi/v/ayaka)

通过ayaka开发多框架下的、多人互动的群聊插件

</div>

根据py包的导入情况，猜测当前插件工作在哪个机器人框架下，已支持

- [nonebot2](https://github.com/nonebot/nonebot2)(使用[onebotv11](https://github.com/nonebot/adapter-onebot)适配器，借助[qqguild_patch](https://github.com/mnixry/nonebot-plugin-guild-patch)同时可适配qqguild)
- [hoshino](https://github.com/Ice-Cirno/HoshinoBot)
- [nonebot1](https://github.com/nonebot/nonebot)

也可将其

- 作为console程序离线运行，便于调试
- 直接通过反向ws连接到gocq上

## 文档

https://bridgel.github.io/ayaka/

## 安装

```
pip install ayaka
```

## 作为console程序离线运行

```py
# run.py
import ayaka.adapters.console as cat

# 加载插件
# do something

if __name__ == "__main__":
    cat.run()
```

```
python run.py
```

## 直接连接到gocq上

```py
# run2.py
import ayaka.adapters.gocq as cat

# 加载插件
# do something

if __name__ == "__main__":
    cat.run()
```

```
python run2.py
```

## 其他

本插件的前身：[nonebot_plugin_ayaka](https://github.com/bridgeL/nonebot-plugin-ayaka)

