一个基础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.5.tar.gz
(27.1 kB
view details)
Built Distribution
File details
Details for the file aiowerobot-0.0.5.tar.gz
.
File metadata
- Download URL: aiowerobot-0.0.5.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8f59033daa2bd86c35cfc128e4008ff66f0de4c07f1795f5165f8cc6d696137 |
|
MD5 | 0f82c761d079fc6faa73c8ef35047325 |
|
BLAKE2b-256 | 24f69a39f021ccb2b4d931ace939747b31f7dde1b6e96cefae34f009f5755a00 |
File details
Details for the file aiowerobot-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: aiowerobot-0.0.5-py3-none-any.whl
- Upload date:
- Size: 32.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e97f94a80ec28461603e253be5c4da7dc267bdc3115a931f9b944c76a5a3ee8 |
|
MD5 | a4158a582a4fd3c879cd5ab342b4c1dc |
|
BLAKE2b-256 | 63f11b2779bc4016a27a21f4b9c4bc184234212fac870487689cabe08b055e81 |