一个基础sanic的异步微信公众号开发框架
Project description
一个简单的异步公众号框架
介绍
代码fork自WeRoBot,修改成基于sanic的异步框架
文档
Installation
pip install aiowerobot
Simple uses
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiowerobot-0.0.7.tar.gz
(28.1 kB
view hashes)
Built Distribution
aiowerobot-0.0.7-py3-none-any.whl
(32.9 kB
view hashes)
Close
Hashes for aiowerobot-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9d2d4dea40131eecca45bec1eaf92914e904b1e3214d1eb5a45e8302c42f3de |
|
MD5 | 89b100f16c920266d75e28880f64ca3b |
|
BLAKE2b-256 | 65dbe3b6c24b317def5c4365d991ba93ddbf5a2da329387150da7778067eea31 |