aiowerobot-0.0.9
توضیحات
一个基础sanic的异步微信公众号开发框架
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aiowerobot-0.0.9 |
| نام | aiowerobot |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | TuoX |
| ایمیل نویسنده | 120549827@qq.com |
| آدرس صفحه اصلی | https://github.com/linzhiming0826/aiowerobot |
| آدرس اینترنتی | https://pypi.org/project/aiowerobot/ |
| مجوز | MIT |
### 一个简单的异步公众号框架
## 介绍
代码fork自[WeRoBot](https://github.com/offu/WeRoBot),修改成基于sanic的异步框架
## 文档
[点我](https://aiowerobot.readthedocs.io/)
## Installation
```linux
pip install aiowerobot
```
## Simple uses
```python
from aiowerobot import AioWeRoBot
robot = AioWeRoBot(app_id='', app_secret='', token='')
@robot.handler
async def hello(message):
return 'Hello World!'
config = {'host': '0.0.0.0', 'port': 8099}
robot.run(**config)
```
نیازمندی
| مقدار | نام |
|---|---|
| >=22.9.1 | sanic |
| >=0.12.0 | xmltodict |
| >=3.6.2 | aiohttp |
نحوه نصب
نصب پکیج whl aiowerobot-0.0.9:
pip install aiowerobot-0.0.9.whl
نصب پکیج tar.gz aiowerobot-0.0.9:
pip install aiowerobot-0.0.9.tar.gz