Skip to content
WeRoBot 是一个微信公众号开发框架
Python HTML
Branch: master
Clone or download

Latest commit

dependabot-preview build(deps): bump sphinx from 3.1.0 to 3.1.1 (#573)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES)
- [Commits](sphinx-doc/sphinx@v3.1.0...v3.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Latest commit 63a8681 Jun 16, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github ci: add cache Mar 4, 2020
.vscode test: test tornado via WSGIAdapter for tornado < 6 Aug 29, 2019
artwork Test doc build in tox Jul 25, 2016
docs test: remove testing outdated Django versions (#556) Apr 20, 2020
example SQL improvement for SQLiteStorage Jul 27, 2016
tests feat: add robot.templatesendjobfinish_event (#544) Mar 3, 2020
werobot chore: drop support for Python 3.4 (EOLed) Mar 3, 2020
.codeclimate.yml Ignore tests on CodeClimate Jul 24, 2016
.coveragerc Report coverage data to scrutinizer Jul 22, 2016
.editorconfig chore: run yapf on test files Mar 15, 2019
.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
LICENSE prototype Jan 30, 2013
MANIFEST.in
README.rst test: add test for django 2.1, 2.2 & 3.0 Mar 4, 2020
bors.toml chore: add bors.toml Jan 10, 2019
dev-requirements.txt build(deps-dev): bump tox from 3.15.1 to 3.15.2 (#570) Jun 7, 2020
docs-requirements.txt build(deps): bump sphinx from 3.1.0 to 3.1.1 (#573) Jun 16, 2020
pytest.ini Show pytest warnings. Jul 25, 2016
requirements.txt refactor: drop support for Python 2, drop requirement for six package Feb 23, 2020
setup.cfg chore(release): version 1.11.0 Feb 28, 2020
setup.py chore: drop support for Python 3.4 (EOLed) Mar 3, 2020
tox-requirements.txt build(deps): bump responses from 0.10.14 to 0.10.15 Jun 16, 2020
tox.ini test: remove testing outdated Django versions (#556) Apr 20, 2020

README.rst

WeRoBot

https://img.shields.io/badge/QQ%20Group-283206829-brightgreen.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0yNzAgODA2cS04LTE5LTgtNTIgMC0yMCAxMS00OXQyNC00NXEtMS0yMiA3LjUtNTN0MjIuNS00M3EwLTEzOSA5Mi41LTI4OC41dDIxNy41LTIwOS41cTEzOS02NiAzMjQtNjYgMTMzIDAgMjY2IDU1IDQ5IDIxIDkwIDQ4dDcxIDU2IDU1IDY4IDQyIDc0IDMyLjUgODQuNSAyNS41IDg5LjUgMjIgOThsMSA1cTU1IDgzIDU1IDE1MCAwIDE0LTkgNDB0LTkgMzhxMCAxIDEuNSAzLjV0My41IDUgMiAzLjVxNzcgMTE0IDEyMC41IDIxNC41dDQzLjUgMjA4LjVxMCA0My0xOS41IDEwMHQtNTUuNSA1N3EtOSAwLTE5LjUtNy41dC0xOS0xNy41LTE5LTI2LTE2LTI2LjUtMTMuNS0yNi05LTE3LjVxLTEtMS0zLTFsLTUgNHEtNTkgMTU0LTEzMiAyMjMgMjAgMjAgNjEuNSAzOC41dDY5IDQxLjUgMzUuNSA2NXEtMiA0LTQgMTZ0LTcgMThxLTY0IDk3LTMwMiA5Ny01MyAwLTExMC41LTl0LTk4LTIwLTEwNC41LTMwcS0xNS01LTIzLTctMTQtNC00Ni00LjV0LTQwLTEuNXEtNDEgNDUtMTI3LjUgNjV0LTE2OC41IDIwcS0zNSAwLTY5LTEuNXQtOTMtOS0xMDEtMjAuNS03NC41LTQwLTMyLjUtNjRxMC00MCAxMC01OS41dDQxLTQ4LjVxMTEtMiA0MC41LTEzdDQ5LjUtMTJxNCAwIDE0LTIgMi0yIDItNGwtMi0zcS00OC0xMS0xMDgtMTA1LjV0LTczLTE1Ni41bC01LTNxLTQgMC0xMiAyMC0xOCA0MS01NC41IDc0LjV0LTc3LjUgMzcuNWgtMXEtNCAwLTYtNC41dC01LTUuNXEtMjMtNTQtMjMtMTAwIDAtMjc1IDI1Mi00NjZ6IiBmaWxsPSIjZmZmIi8%2BPC9zdmc%2B

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

You can’t perform that action at this time.