Skip to content

一个基于sanic的异步微信公众号开发框架

Notifications You must be signed in to change notification settings

linzhiming0826/aiowerobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

一个简单的异步公众号框架

介绍

代码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)

About

一个基于sanic的异步微信公众号开发框架

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages