WeRoBot 是一个微信公众号开发框架
Clone or download
Latest commit 9aafbeb Nov 12, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci ci(circle): add docs test and lint (#335) Jul 31, 2018
.github chore(github): rename issue-close-bot.yml to issue-close-app.yml (#320) Jun 21, 2018
.vscode docs(changelog): update changelog May 9, 2018
artwork Test doc build in tox Jul 25, 2016
docs docs(start): fix typo Nov 12, 2018
example SQL improvement for SQLiteStorage Jul 27, 2016
tests feat(client): add sending miniprogrampage custom message (#309) Jun 17, 2018
travis test(session): replace database with mock #307 Jun 17, 2018
werobot style(message): fix style error due to new version yapf (#355) Sep 22, 2018
.bumpversion.cfg Bump version: 1.5.0 → 1.6.0 Jun 18, 2018
.codeclimate.yml Ignore tests on CodeClimate Jul 24, 2016
.coveragerc Report coverage data to scrutinizer Jul 22, 2016
.editorconfig drop DictEntry import Dec 9, 2017
.gitignore add missing events #279 Apr 9, 2018
.gitmodules Modify doc theme Jul 28, 2016
.pipignore update pipignore Jul 20, 2014
.scrutinizer.yml Don't run Python 2.6 tests on OS X. Jul 24, 2016
.style.yapf style(app): switch to yapf Apr 23, 2018
.travis.yml ci: test under python 3.7 (#333) Jul 22, 2018
CHANGELOG.md docs(changelog): update CHANGELOG.md Jun 18, 2018
LICENSE prototype Jan 30, 2013
MANIFEST.in fix missing error page file #194 Feb 5, 2017
README.rst docs(readme): change the badge for circleci (#331) Jul 22, 2018
appveyor.yml Bump version: 1.5.0 → 1.6.0 Jun 18, 2018
dev-requirements.txt build(deps): bump tox from 3.5.1 to 3.5.2 (#362) Oct 11, 2018
pytest.ini Show pytest warnings. Jul 25, 2016
requirements.txt Install funcsigs only in versions less than 3.3 Aug 14, 2016
setup.cfg import letters from string library Mar 6, 2017
setup.py add python3.6 in setup.py Jan 9, 2017
tox-requirements.txt build(deps): bump responses from 0.10.1 to 0.10.2 (#369) Oct 31, 2018
tox-win.ini ci(circle): add docs test and lint (#335) Jul 31, 2018
tox.ini ci: test under python 3.7 (#333) Jul 22, 2018

README.rst

WeRoBot

https://img.shields.io/travis/offu/WeRoBot/master.svg?maxAge=3600&label=macOS https://img.shields.io/appveyor/ci/whtsky/WeRoBot/master.svg?maxAge=3600&label=Windows https://img.shields.io/badge/QQ%20Group-283206829-brightgreen.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0yNzAgODA2cS04LTE5LTgtNTIgMC0yMCAxMS00OXQyNC00NXEtMS0yMiA3LjUtNTN0MjIuNS00M3EwLTEzOSA5Mi41LTI4OC41dDIxNy41LTIwOS41cTEzOS02NiAzMjQtNjYgMTMzIDAgMjY2IDU1IDQ5IDIxIDkwIDQ4dDcxIDU2IDU1IDY4IDQyIDc0IDMyLjUgODQuNSAyNS41IDg5LjUgMjIgOThsMSA1cTU1IDgzIDU1IDE1MCAwIDE0LTkgNDB0LTkgMzhxMCAxIDEuNSAzLjV0My41IDUgMiAzLjVxNzcgMTE0IDEyMC41IDIxNC41dDQzLjUgMjA4LjVxMCA0My0xOS41IDEwMHQtNTUuNSA1N3EtOSAwLTE5LjUtNy41dC0xOS0xNy41LTE5LTI2LTE2LTI2LjUtMTMuNS0yNi05LTE3LjVxLTEtMS0zLTFsLTUgNHEtNTkgMTU0LTEzMiAyMjMgMjAgMjAgNjEuNSAzOC41dDY5IDQxLjUgMzUuNSA2NXEtMiA0LTQgMTZ0LTcgMThxLTY0IDk3LTMwMiA5Ny01MyAwLTExMC41LTl0LTk4LTIwLTEwNC41LTMwcS0xNS01LTIzLTctMTQtNC00Ni00LjV0LTQwLTEuNXEtNDEgNDUtMTI3LjUgNjV0LTE2OC41IDIwcS0zNSAwLTY5LTEuNXQtOTMtOS0xMDEtMjAuNS03NC41LTQwLTMyLjUtNjRxMC00MCAxMC01OS41dDQxLTQ4LjVxMTEtMiA0MC41LTEzdDQ5LjUtMTJxNCAwIDE0LTIgMi0yIDItNGwtMi0zcS00OC0xMS0xMDgtMTA1LjV0LTczLTE1Ni41bC01LTNxLTQgMC0xMiAyMC0xOCA0MS01NC41IDc0LjV0LTc3LjUgMzcuNWgtMXEtNCAwLTYtNC41dC01LTUuNXEtMjMtNTQtMjMtMTAwIDAtMjc1IDI1Mi00NjZ6IiBmaWxsPSIjZmZmIi8%2BPC9zdmc%2B Backers on Open Collective Sponsors on Open Collective

WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。

文档在这里: https://werobot.readthedocs.org/zh_CN/latest/

安装

推荐使用 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

Thank you to all the people who have already contributed. Repo Contributors

Backers

Thank you to all our backers! Backers on Open Collective

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. become_sponsor

Sponsor Sponsor Sponsor