WeRoBot: writing WeChat Offical Account Robots with fun
Project description
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/v1.13.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
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.13.1.tar.gz
(60.5 kB
view details)
Built Distribution
File details
Details for the file WeRoBot-1.13.1.tar.gz
.
File metadata
- Download URL: WeRoBot-1.13.1.tar.gz
- Upload date:
- Size: 60.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b145502b7a9b9f30b2669db04c812bbca3a27a9822ff41e322ee458ea3123b28 |
|
MD5 | 982fa2f9e914a8445c3332670d2253e7 |
|
BLAKE2b-256 | f167c4f2c0c4ee23c98cbb4f0d42ac92a9f417398ee89a19dd7760ac8e59bf15 |
File details
Details for the file WeRoBot-1.13.1-py2.py3-none-any.whl
.
File metadata
- Download URL: WeRoBot-1.13.1-py2.py3-none-any.whl
- Upload date:
- Size: 44.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c3bba57f3f8d8b4866c119b3eb8e2d6c6c0525ff7b96eb207d81a6d350aaae5 |
|
MD5 | 8858d91bd5f499b34b70bc250f0057fc |
|
BLAKE2b-256 | 84986a16bc6c9b3c216efd28babe06f1891ff1fe3f7f96dfb88516545a8c9b30 |