WeRoBot: writing WeChat Offical Account Robots with fun
Project description
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/v1.6.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()
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.6.0.tar.gz
(63.5 kB
view details)
Built Distribution
WeRoBot-1.6.0-py3-none-any.whl
(42.9 kB
view details)
File details
Details for the file WeRoBot-1.6.0.tar.gz
.
File metadata
- Download URL: WeRoBot-1.6.0.tar.gz
- Upload date:
- Size: 63.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 329190b9cdd3f3938f15f0932d147dc21efdeddd7e794082ce4d7fda9c19436e |
|
MD5 | 1ab2f14d127260f315906b73cf307884 |
|
BLAKE2b-256 | a8410bb844c99f4bb35caf1776c1e0c8cc1dd55b18f96f32b22ba7b25c12041c |
File details
Details for the file WeRoBot-1.6.0-py3-none-any.whl
.
File metadata
- Download URL: WeRoBot-1.6.0-py3-none-any.whl
- Upload date:
- Size: 42.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8af570d93ac0ce3ac70dbf2641f5545cf3587223ca44c80858f59fcf22424e8b |
|
MD5 | 253a6a7c87e534ddee086d9ff98045e1 |
|
BLAKE2b-256 | 1adb4339d170d5bdb038eb0a5f1df69e0deeb038aa0b9df0dc894b8605547c03 |