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
Metadata
Release files for WeRoBot 1.13.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| WeRoBot-1.13.1.tar.gz | 60.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| WeRoBot-1.13.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 105.0 kB
Release files / WeRoBot-1.13.1.tar.gz
| Download URL | WeRoBot-1.13.1.tar.gz |
|---|---|
| Size | 60.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b145502b7a9b9f30b2669db04c812bbca3a27a9822ff41e322ee458ea3123b28
|
|
BLAKE2b-256 checksum How to use checksums |
f167c4f2c0c4ee23c98cbb4f0d42ac92a9f417398ee89a19dd7760ac8e59bf15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / WeRoBot-1.13.1-py2.py3-none-any.whl
| Download URL | WeRoBot-1.13.1-py2.py3-none-any.whl |
|---|---|
| Size | 44.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8c3bba57f3f8d8b4866c119b3eb8e2d6c6c0525ff7b96eb207d81a6d350aaae5
|
|
BLAKE2b-256 checksum How to use checksums |
84986a16bc6c9b3c216efd28babe06f1891ff1fe3f7f96dfb88516545a8c9b30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|