ZgRoBot: writing WeChat Offical Account Robots with fun
Project description
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
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
zgrobot-2.0.5.tar.gz
(2.7 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zgrobot-2.0.5.tar.gz.
File metadata
- Download URL: zgrobot-2.0.5.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67b21ddceab7dc2e5a1aa9927f1290d9192de4391d9b04f4be38c530f8dce585
|
|
| MD5 |
55d4e0a798e093a6878d19cf696d35ce
|
|
| BLAKE2b-256 |
f0d0d0e4b96eab3ebacfd6d1deff152a948f39c3c0af43cbd75a3da9f3835a61
|
File details
Details for the file zgrobot-2.0.5-py2.py3-none-any.whl.
File metadata
- Download URL: zgrobot-2.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 46.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10764d537819be17a3e0bbe3995b4b2ad6d96e4c0a9a977addb11d4061e9d04e
|
|
| MD5 |
3b7cdbd6df2e9ed673e7d2e116bc483a
|
|
| BLAKE2b-256 |
7f074f6ec9ea4a019a5f81bafd93a9de8f06c8f83c91078060ffa4c9d3d4e38f
|