一个基础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.6.tar.gz
(28.0 kB
view details)
Built Distribution
File details
Details for the file aiowerobot-0.0.6.tar.gz
.
File metadata
- Download URL: aiowerobot-0.0.6.tar.gz
- Upload date:
- Size: 28.0 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 | b04b763d415ba8f41cda3c23dcf6008018780315388bc89e360a0d2c0ff4d152 |
|
MD5 | f0834053a71c6dc79b11aec3b933e2d9 |
|
BLAKE2b-256 | 96edd2670e76b98abea86c617aede8857a25d971b0e0c0c1cde6b7946b0556b0 |
File details
Details for the file aiowerobot-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: aiowerobot-0.0.6-py3-none-any.whl
- Upload date:
- Size: 32.9 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 | 6031c0bda1af67df66e69293f2a12de97187ec5fffdd5a131fe687a67d565e0b |
|
MD5 | 1444c6662466f770e90e1e00ee97d308 |
|
BLAKE2b-256 | 44b5c6607cee3b409b1e7b7a9d73ef76e7434e3b9103e15fb4346e3638e21a68 |