一个基础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.9.tar.gz
(28.0 kB
view hashes)
Built Distribution
aiowerobot-0.0.9-py3-none-any.whl
(33.1 kB
view hashes)
Close
Hashes for aiowerobot-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaf11f65367e7639096c11bb19ee67e95c3b699555b76d2c9dbdb728e185398f |
|
MD5 | 3990c7ae9784e781e005c51eb95ef44b |
|
BLAKE2b-256 | 2ce4fef39b49df758836091eaed1e546b28c27ba3a4e57df0dad0a9b3c823e59 |