====================================
WeRoBot
====================================
.. image:: https://github.com/offu/werobot/workflows/tests/badge.svg
:target: https://github.com/offu/werobot/actions
.. image:: https://codecov.io/gh/offu/WeRoBot/branch/master/graph/badge.svg
:target: https://codecov.io/gh/offu/WeRoBot
.. image:: https://img.shields.io/badge/QQ%20Group-283206829-brightgreen.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0yNzAgODA2cS04LTE5LTgtNTIgMC0yMCAxMS00OXQyNC00NXEtMS0yMiA3LjUtNTN0MjIuNS00M3EwLTEzOSA5Mi41LTI4OC41dDIxNy41LTIwOS41cTEzOS02NiAzMjQtNjYgMTMzIDAgMjY2IDU1IDQ5IDIxIDkwIDQ4dDcxIDU2IDU1IDY4IDQyIDc0IDMyLjUgODQuNSAyNS41IDg5LjUgMjIgOThsMSA1cTU1IDgzIDU1IDE1MCAwIDE0LTkgNDB0LTkgMzhxMCAxIDEuNSAzLjV0My41IDUgMiAzLjVxNzcgMTE0IDEyMC41IDIxNC41dDQzLjUgMjA4LjVxMCA0My0xOS41IDEwMHQtNTUuNSA1N3EtOSAwLTE5LjUtNy41dC0xOS0xNy41LTE5LTI2LTE2LTI2LjUtMTMuNS0yNi05LTE3LjVxLTEtMS0zLTFsLTUgNHEtNTkgMTU0LTEzMiAyMjMgMjAgMjAgNjEuNSAzOC41dDY5IDQxLjUgMzUuNSA2NXEtMiA0LTQgMTZ0LTcgMThxLTY0IDk3LTMwMiA5Ny01MyAwLTExMC41LTl0LTk4LTIwLTEwNC41LTMwcS0xNS01LTIzLTctMTQtNC00Ni00LjV0LTQwLTEuNXEtNDEgNDUtMTI3LjUgNjV0LTE2OC41IDIwcS0zNSAwLTY5LTEuNXQtOTMtOS0xMDEtMjAuNS03NC41LTQwLTMyLjUtNjRxMC00MCAxMC01OS41dDQxLTQ4LjVxMTEtMiA0MC41LTEzdDQ5LjUtMTJxNCAwIDE0LTIgMi0yIDItNGwtMi0zcS00OC0xMS0xMDgtMTA1LjV0LTczLTE1Ni41bC01LTNxLTQgMC0xMiAyMC0xOCA0MS01NC41IDc0LjV0LTc3LjUgMzcuNWgtMXEtNCAwLTYtNC41dC01LTUuNXEtMjMtNTQtMjMtMTAwIDAtMjc1IDI1Mi00NjZ6IiBmaWxsPSIjZmZmIi8%2BPC9zdmc%2B
:target: https://jq.qq.com/?_wv=1027&k=449sXsV
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/v1.13.1/
安装
========
推荐使用 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.
|occontributorimage|
.. |occontributorimage| image:: https://opencollective.com/werobot/contributors.svg?width=890&button=false
:target: https://opencollective.com/werobot
:alt: Repo Contributors
Raw data
{
"_id": null,
"home_page": "https://github.com/offu/WeRoBot",
"name": "WeRoBot",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "wechat weixin werobot",
"author": "whtsky",
"author_email": "whtsky@me.com",
"download_url": "https://files.pythonhosted.org/packages/f1/67/c4f2c0c4ee23c98cbb4f0d42ac92a9f417398ee89a19dd7760ac8e59bf15/WeRoBot-1.13.1.tar.gz",
"platform": "",
"description": "====================================\nWeRoBot\n====================================\n\n.. image:: https://github.com/offu/werobot/workflows/tests/badge.svg\n :target: https://github.com/offu/werobot/actions\n.. image:: https://codecov.io/gh/offu/WeRoBot/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/offu/WeRoBot\n.. image:: https://img.shields.io/badge/QQ%20Group-283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xOCA0MS01NC41IDc0LjV0LTc3LjUgMzcuNWgtMXEtNCAwLTYtNC41dC01LTUuNXEtMjMtNTQtMjMtMTAwIDAtMjc1IDI1Mi00NjZ6IiBmaWxsPSIjZmZmIi8%2BPC9zdmc%2B\n :target: https://jq.qq.com/?_wv=1027&k=449sXsV\n\nWeRoBot \u662f\u4e00\u4e2a\u5fae\u4fe1\u516c\u4f17\u53f7\u5f00\u53d1\u6846\u67b6\uff0c\u91c7\u7528MIT\u534f\u8bae\u53d1\u5e03\u3002\n\n\u6587\u6863\u5728\u8fd9\u91cc\uff1a https://werobot.readthedocs.org/zh_CN/v1.13.1/\n\n\u5b89\u88c5\n========\n\n\u63a8\u8350\u4f7f\u7528 pip \u8fdb\u884c\u5b89\u88c5 ::\n\n pip install werobot\n\nHello World\n=============\n\n\u4e00\u4e2a\u975e\u5e38\u7b80\u5355\u7684 Hello World \u5fae\u4fe1\u516c\u4f17\u53f7\uff0c\u4f1a\u5bf9\u6536\u5230\u7684\u6240\u6709\u6587\u672c\u6d88\u606f\u56de\u590d Hello World ::\n\n import werobot\n\n robot = werobot.WeRoBot(token='tokenhere')\n\n @robot.text\n def hello_world():\n return 'Hello World!'\n\n robot.run()\n\nCredits \n=======\nContributors\n-----------------\nThank you to all the people who have already contributed. \n|occontributorimage|\n\n.. |occontributorimage| image:: https://opencollective.com/werobot/contributors.svg?width=890&button=false\n :target: https://opencollective.com/werobot\n :alt: Repo Contributors\n\n\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "WeRoBot: writing WeChat Offical Account Robots with fun",
"version": "1.13.1",
"project_urls": {
"Homepage": "https://github.com/offu/WeRoBot"
},
"split_keywords": [
"wechat",
"weixin",
"werobot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "84986a16bc6c9b3c216efd28babe06f1891ff1fe3f7f96dfb88516545a8c9b30",
"md5": "8858d91bd5f499b34b70bc250f0057fc",
"sha256": "8c3bba57f3f8d8b4866c119b3eb8e2d6c6c0525ff7b96eb207d81a6d350aaae5"
},
"downloads": -1,
"filename": "WeRoBot-1.13.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "8858d91bd5f499b34b70bc250f0057fc",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 44480,
"upload_time": "2021-01-26T07:15:57",
"upload_time_iso_8601": "2021-01-26T07:15:57.488306Z",
"url": "https://files.pythonhosted.org/packages/84/98/6a16bc6c9b3c216efd28babe06f1891ff1fe3f7f96dfb88516545a8c9b30/WeRoBot-1.13.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f167c4f2c0c4ee23c98cbb4f0d42ac92a9f417398ee89a19dd7760ac8e59bf15",
"md5": "982fa2f9e914a8445c3332670d2253e7",
"sha256": "b145502b7a9b9f30b2669db04c812bbca3a27a9822ff41e322ee458ea3123b28"
},
"downloads": -1,
"filename": "WeRoBot-1.13.1.tar.gz",
"has_sig": false,
"md5_digest": "982fa2f9e914a8445c3332670d2253e7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 60478,
"upload_time": "2021-01-26T07:15:59",
"upload_time_iso_8601": "2021-01-26T07:15:59.183751Z",
"url": "https://files.pythonhosted.org/packages/f1/67/c4f2c0c4ee23c98cbb4f0d42ac92a9f417398ee89a19dd7760ac8e59bf15/WeRoBot-1.13.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2021-01-26 07:15:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "offu",
"github_project": "WeRoBot",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "werobot"
}