ZgRoBot
ZgRoBot 是一个基于 WeRoBot 开发的微信公众号后台开发框架,采用MIT协议发布。
我是来看【 使用文档 】的!
安装
推荐安装
推荐使用 pip 进行安装:
pip install zgrobot
其他安装方法
pip install zgrobot-XXX.tar.gz
更新
pip install --upgrade zgrobot
使用
Hello World
一个非常简单的 Hello World 微信公众号,会对收到的所有文本消息回复 Hello World
import zgrobot
robot = zgrobot.ZgRoBot(token='tokenhere')
@robot.text
def hello_world():
return 'Hello World!'
robot.run()
高级使用
请参阅【 使用文档 】
Status
Star History
Release files for zgrobot 2.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zgrobot-2.0.5.tar.gz | 2.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zgrobot-2.0.5-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 2.7 MB
Release files / zgrobot-2.0.5.tar.gz
| Download URL | zgrobot-2.0.5.tar.gz |
|---|---|
| Size | 2.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67b21ddceab7dc2e5a1aa9927f1290d9192de4391d9b04f4be38c530f8dce585
|
|
BLAKE2b-256 checksum How to use checksums |
f0d0d0e4b96eab3ebacfd6d1deff152a948f39c3c0af43cbd75a3da9f3835a61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / zgrobot-2.0.5-py2.py3-none-any.whl
| Download URL | zgrobot-2.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 46.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
10764d537819be17a3e0bbe3995b4b2ad6d96e4c0a9a977addb11d4061e9d04e
|
|
BLAKE2b-256 checksum How to use checksums |
7f074f6ec9ea4a019a5f81bafd93a9de8f06c8f83c91078060ffa4c9d3d4e38f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|