WeRoBot: writing WeChat Offical Account Robots with fun
Project description
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/v1.12.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.12.0.tar.gz
(59.4 kB
view details)
Built Distribution
File details
Details for the file WeRoBot-1.12.0.tar.gz
.
File metadata
- Download URL: WeRoBot-1.12.0.tar.gz
- Upload date:
- Size: 59.4 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 | a71ac233ca168a6b98a73858737bb2fe60c0b713f437fce0520ee342bfe936be |
|
MD5 | 906039b5cb90ae6a30652e7bf796bab7 |
|
BLAKE2b-256 | ddd29a6d9a4f491e55d105ad4463eb0772f768ac0a6a2da08be8e3ff046829e2 |
File details
Details for the file WeRoBot-1.12.0-py2.py3-none-any.whl
.
File metadata
- Download URL: WeRoBot-1.12.0-py2.py3-none-any.whl
- Upload date:
- Size: 44.9 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 | 20e32a6e9430b4a1ad7ced69549a338714687c12a9595bac3f0325173812d775 |
|
MD5 | fe1563cb5d4d4177a8437bf410600547 |
|
BLAKE2b-256 | c6895469df61e4fd53403a9b830b6a5334d765a8f14add773b487d4fe5003001 |