WeRoBot: writing WeChat Offical Account Robots with fun
Project description
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/v1.13.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
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.13.0.tar.gz
(59.0 kB
view details)
Built Distribution
File details
Details for the file WeRoBot-1.13.0.tar.gz
.
File metadata
- Download URL: WeRoBot-1.13.0.tar.gz
- Upload date:
- Size: 59.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ba14577facf7c5bcd1b17b0b11131fc45d2f4052147051132b476d7f414bed |
|
MD5 | 46451458bb85061dc2371f0288e83522 |
|
BLAKE2b-256 | 1749b8883046913eefa89306cf57a419932c27e6aa34c36e9c25bafcfd1d6a97 |
File details
Details for the file WeRoBot-1.13.0-py2.py3-none-any.whl
.
File metadata
- Download URL: WeRoBot-1.13.0-py2.py3-none-any.whl
- Upload date:
- Size: 44.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 118f6b81d18973eefcee4a014ace1423a5154cd4ba2245438f992c6b1a0b7852 |
|
MD5 | 71feb46886924331ba239f264663deb1 |
|
BLAKE2b-256 | accefca0aeab61c5bea22553fe4d33271d2dda010357affe9e1c3ee04f97af8f |