一个基础sanic的异步微信公众号开发框架
Project description
Sanic-RESTful-Api
一个简单的异步公众号框架
介绍
代码从WeRoBotfork,修改成基于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.2.tar.gz
(27.1 kB
view hashes)
Built Distribution
aiowerobot-0.0.2-py3-none-any.whl
(32.9 kB
view hashes)
Close
Hashes for aiowerobot-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d73c5dbb4fc8f2a681c698f0812dda2e74974441d2752dacf79ea7c345ec862b |
|
MD5 | b434adaec4cc25fd656c5d54b372ebcf |
|
BLAKE2b-256 | 91b7f70f0d0fe10fca83876d843ca14b8cf8f82a2a6f86b2c1f51e9153be8f5c |