WeRoBot: writing WeChat Offical Account Robots with fun
Project description
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/v1.8.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.8.0.tar.gz
(62.9 kB
view details)
Built Distribution
WeRoBot-1.8.0-py3-none-any.whl
(43.0 kB
view details)
File details
Details for the file WeRoBot-1.8.0.tar.gz
.
File metadata
- Download URL: WeRoBot-1.8.0.tar.gz
- Upload date:
- Size: 62.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d622958317673d1653fe769010d601f8762e84f8e114c234075b3e91300fc1f |
|
MD5 | f377ac47d8ced545d2cefbc05b5b79ff |
|
BLAKE2b-256 | b6c555a192be2c61cb5586418382c05098a1ed85e67b8bc85b1a2a8d7796f69a |
File details
Details for the file WeRoBot-1.8.0-py3-none-any.whl
.
File metadata
- Download URL: WeRoBot-1.8.0-py3-none-any.whl
- Upload date:
- Size: 43.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0d90a8966ee16050bce0e4f976c6aa2406cde8b30192484f702a55ee2d2fb0e |
|
MD5 | 72203eb4b175be0b3240352c936c1601 |
|
BLAKE2b-256 | f4afe5b002a1a73c85a448149d66c30e80bf7a7095ab6a4b27b368fcd26d5b16 |