WeRoBot: writing WeChat Offical Account Robots with fun
Project description
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/v1.5.0/
安装
推荐使用 pip 进行安装
pip install werobot
Hello World
一个非常简单的 Hello World 微信公众号,会对收到的所有文本消息回复 Hello World
import werobot robot = werobot.WeRoBot(token='tokenhere') @robot.text def hello_world(): return 'Hello World!' robot.run()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
WeRoBot-1.5.0.tar.gz
(62.5 kB
view details)
Built Distribution
WeRoBot-1.5.0-py3-none-any.whl
(42.5 kB
view details)
File details
Details for the file WeRoBot-1.5.0.tar.gz
.
File metadata
- Download URL: WeRoBot-1.5.0.tar.gz
- Upload date:
- Size: 62.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a426175ea25941486143355b328c520a416f230873e4212378987a45b9c8e1e1 |
|
MD5 | 710eeace64c190880cd35b3c9ac0bd0d |
|
BLAKE2b-256 | e8a1fc9bb3be17db3a893a614d3c304be924628b27ee9c3e6f855f2193799f4a |
File details
Details for the file WeRoBot-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: WeRoBot-1.5.0-py3-none-any.whl
- Upload date:
- Size: 42.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b450d1459ef539059d437ad196378ad744d408568a3292640e415d536cfcb717 |
|
MD5 | 551dad6f7d4c23e5d3d33cb105dc748a |
|
BLAKE2b-256 | d8614c712a89130d10ee4f8998eb828391227f8aa2dc487d43d613a02f34f868 |