WeRoBot: writing WeChat Offical Account Robots with fun
Project description
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/v1.7.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()
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.7.0.tar.gz
(65.0 kB
view details)
Built Distribution
WeRoBot-1.7.0-py3-none-any.whl
(43.7 kB
view details)
File details
Details for the file WeRoBot-1.7.0.tar.gz
.
File metadata
- Download URL: WeRoBot-1.7.0.tar.gz
- Upload date:
- Size: 65.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e3f7ab7cca8581b4390302b0d9d2b6bc15f16cfb796fddcbe7f490740344e9b |
|
MD5 | adc776e1b62d9159941ca0ec1023cb7b |
|
BLAKE2b-256 | 52e921e6db0440744f013b33e305657144e99323fb210a6405f34f8eb5044a46 |
File details
Details for the file WeRoBot-1.7.0-py3-none-any.whl
.
File metadata
- Download URL: WeRoBot-1.7.0-py3-none-any.whl
- Upload date:
- Size: 43.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ced01d2b935af14e688d5470310562f7b88cda11b173663ce4bc82454d136e57 |
|
MD5 | 6dfd0864ea2ba32544968ab9170f3261 |
|
BLAKE2b-256 | 5713c8ecbfc6740b68c061aefdde5d0cd25d190e29f13b19a50cab6a725ecd67 |