WeRoBot: writing WeChat Offical Account Robots with fun
Project description
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/v1.10.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.10.0.tar.gz
(65.2 kB
view details)
Built Distribution
File details
Details for the file WeRoBot-1.10.0.tar.gz
.
File metadata
- Download URL: WeRoBot-1.10.0.tar.gz
- Upload date:
- Size: 65.2 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.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6e26e0a67ff57eb291f36eafdef72d86ccd5f0fd9ba84bc58cbf78238eb36a8 |
|
MD5 | cc60a676fc88e584534f3f67afaf186a |
|
BLAKE2b-256 | 190f655d1cde97ee28660dc3f3e789cdb2eb6049e3d07b0d88251251813ee005 |
File details
Details for the file WeRoBot-1.10.0-py2.py3-none-any.whl
.
File metadata
- Download URL: WeRoBot-1.10.0-py2.py3-none-any.whl
- Upload date:
- Size: 45.1 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.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c780b28fb25723a86dfef53cc08fbb134d017838e544682fea5d1ca59360380d |
|
MD5 | 8ac779284d1f7131c5366447b73444cb |
|
BLAKE2b-256 | 10cfb76ae44fa3ded00523db259020eb48ac8da0209a54f7ceadda3963008e3f |