WeRoBot: writing WeChat Offical Account Robots with fun
Project description
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/v1.9.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()
Credits
Contributors
Backers
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. become_sponsor
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.9.0.tar.gz
(62.1 kB
view details)
Built Distributions
WeRoBot-1.9.0-py3-none-any.whl
(43.4 kB
view details)
File details
Details for the file WeRoBot-1.9.0.tar.gz
.
File metadata
- Download URL: WeRoBot-1.9.0.tar.gz
- Upload date:
- Size: 62.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ada2496823816102e732a16c5a451a80e6a90362cf79098a40d1e892d50aa078 |
|
MD5 | 1177ed6e00014db17a52017e4a1e1794 |
|
BLAKE2b-256 | 670c2fa80f73635030e05ddf663781ad656deb9a71adbf1835de6672d652207b |
File details
Details for the file WeRoBot-1.9.0-py3-none-any.whl
.
File metadata
- Download URL: WeRoBot-1.9.0-py3-none-any.whl
- Upload date:
- Size: 43.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f888df11ff62eefaf99ea45ed4bcef91fba4a3c77bc5b2d20c4b3eb0f1065542 |
|
MD5 | caec18a1bbf35aad23f7bb69a00d164d |
|
BLAKE2b-256 | 926f6875a623c87b2505028a4eeddbb12e296c50683667a1e6c54e88cd51cbec |
File details
Details for the file WeRoBot-1.9.0-py2.py3-none-any.whl
.
File metadata
- Download URL: WeRoBot-1.9.0-py2.py3-none-any.whl
- Upload date:
- Size: 43.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dea711e8d99e3aa68095a47f889b408462011c1ced3ce1bd750f4a375d785dc7 |
|
MD5 | cde1d96ccc9537d4e398fc2231930161 |
|
BLAKE2b-256 | dfc7c7a258231409b83166b15c8c8d995778aad7a7e27843d027b4af91f09750 |