WeRoBot: writing WeChat Offical Account Robots with fun
Project description
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/v1.10.1/
安装
推荐使用 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()
Credits
Contributors
Backers
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. become_sponsor
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.10.1.zip
(89.2 kB
view hashes)
Built Distribution
Close
Hashes for WeRoBot-1.10.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40be85540a513a23947f01bf004ab5ee40d312f9c1584dd4c369f6d90585e70d |
|
MD5 | 455f09aacb06021a81aee4a15e600f76 |
|
BLAKE2b-256 | fcaa780f5e27a2b469cbb8d0dd6965bf83e517b6a528543137011ca4cf6188f2 |