WeRoBot: writing WeChat Offical Account Robots with fun
Project description
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/v1.4.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()
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.4.1.tar.gz
(62.3 kB
view details)
Built Distribution
WeRoBot-1.4.1-py3-none-any.whl
(42.5 kB
view details)
File details
Details for the file WeRoBot-1.4.1.tar.gz
.
File metadata
- Download URL: WeRoBot-1.4.1.tar.gz
- Upload date:
- Size: 62.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 004006951932bdfcbea378b0e48c141dca5f29e439adcd73ab6bac7c5588be6f |
|
MD5 | 66316e73f88df0a192004c72bf3af552 |
|
BLAKE2b-256 | dcbc897357d17d7d949b33c83207c5845d8481873090fffb365b2936b36695a2 |
File details
Details for the file WeRoBot-1.4.1-py3-none-any.whl
.
File metadata
- Download URL: WeRoBot-1.4.1-py3-none-any.whl
- Upload date:
- Size: 42.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6627c748551d95ad6566db8791890ac256cab4b77fded987476df5500be56f33 |
|
MD5 | 7455b6e93dea19ec7d237ccd95ff2be2 |
|
BLAKE2b-256 | dba577785626841eca355176a2830cce0da12fa1225866d6b1da87620d8205da |