一个基础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 details)
Built Distribution
File details
Details for the file aiowerobot-0.0.9.tar.gz
.
File metadata
- Download URL: aiowerobot-0.0.9.tar.gz
- Upload date:
- Size: 28.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9db0d8d289c5b19bf8f886149f119b198fa48faff7653134f7d1d02d68ee6ccd |
|
MD5 | 4467f397007f2dd70106bb06083b7d3c |
|
BLAKE2b-256 | 7991f764f24df28af12c965ae6271859eda1051057f7a4b907cc86b0af6daeda |
File details
Details for the file aiowerobot-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: aiowerobot-0.0.9-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaf11f65367e7639096c11bb19ee67e95c3b699555b76d2c9dbdb728e185398f |
|
MD5 | 3990c7ae9784e781e005c51eb95ef44b |
|
BLAKE2b-256 | 2ce4fef39b49df758836091eaed1e546b28c27ba3a4e57df0dad0a9b3c823e59 |