<h1 align="center"> ZgRoBot </h1>
<b align="center">
[![GitHub Workflow Status](https://github.com/pylover7/zgrobot/workflows/tests/badge.svg)](https://github.com/pylover7/ZgRobot/actions)
[![codecov](https://codecov.io/gh/pylover7/ZgRobot/branch/master/graph/badge.svg?token=JGB56KZ6CU)](https://codecov.io/gh/pylover7/ZgRobot)
[![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/pylover7/ZgRobot?include_prereleases&sort=semver)](https://github.com/pylover7/ZgRobot/releases)
[![GitHub all releases](https://img.shields.io/github/downloads/pylover7/ZgRobot/total)](https://github.com/pylover7/ZgRobot/releases)
[![GitHub](https://img.shields.io/github/license/pylover7/ZgRobot)](https://github.com/pylover7/ZgRobot/blob/master/LICENSE)
[![Documentation Status](https://readthedocs.org/projects/zgrobot/badge/?version=latest)](https://zgrobot.readthedocs.io/zh/latest/?badge=latest)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/zgrobot)](https://pypi.org/project/zgrobot/)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/pylover7/ZgRobot)](https://github.com/pylover7/ZgRobot/commits/feature-update_docs)
[![wakatime](https://wakatime.com/badge/user/1d39df6a-cef0-41f7-a903-ef4b9dd13fb0.svg)](https://wakatime.com/@1d39df6a-cef0-41f7-a903-ef4b9dd13fb0)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://pylover7-upgraded-space-chainsaw-pwgxxw54w6ph6jj.github.dev/)
</b>
`ZgRoBot` 是一个基于 [`WeRoBot`](https://github.com/offu/WeRoBot) 开发的微信公众号后台开发框架,采用MIT协议发布。
> 我是来看【 [使用文档](https://zgrobot.readthedocs.io/zh/stable/) 】的!
## 安装
### 推荐安装
推荐使用 `pip` 进行安装:
```shell
pip install zgrobot
```
### 其他安装方法
1. 手动下载安装包
- 下载地址1: [release](https://github.com/pylover7/ZgRobot/releases)
- 下载地址2:[蓝奏云仓库](https://shuoshuo.lanzoui.com/b016uiu7i) 、 [蓝奏云备用地址](https://shuoshuo.lanzoux.com/b016uiu7i) 【密码:1n86】
2. 本地安装
```shell
pip install zgrobot-XXX.tar.gz
```
### 更新
```shell
pip install --upgrade zgrobot
```
## 使用
### Hello World
一个非常简单的 `Hello World` 微信公众号,会对收到的所有文本消息回复 `Hello World`
```python
import zgrobot
robot = zgrobot.ZgRoBot(token='tokenhere')
@robot.text
def hello_world():
return 'Hello World!'
robot.run()
```
### 高级使用
请参阅【 [使用文档](https://zgrobot.readthedocs.io/zh/stable/) 】
## Status
![Alt](https://repobeats.axiom.co/api/embed/1fb76725ce62ccf8879ab82b24b09d18f47664f2.svg "Repobeats analytics image")
## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=pylover7/ZgRobot&type=Date)](https://star-history.com/#pylover7/ZgRobot&Date)
Raw data
{
"_id": null,
"home_page": "https://github.com/pylover7/ZgRobot",
"name": "zgrobot",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "wechat weixin zgrobot",
"author": "pylover",
"author_email": "shuoshuoyun@foxmail.com",
"download_url": "https://files.pythonhosted.org/packages/f0/d0/d0e4b96eab3ebacfd6d1deff152a948f39c3c0af43cbd75a3da9f3835a61/zgrobot-2.0.5.tar.gz",
"platform": null,
"description": "<h1 align=\"center\"> ZgRoBot </h1>\n\n<b align=\"center\">\n\n[![GitHub Workflow Status](https://github.com/pylover7/zgrobot/workflows/tests/badge.svg)](https://github.com/pylover7/ZgRobot/actions)\n[![codecov](https://codecov.io/gh/pylover7/ZgRobot/branch/master/graph/badge.svg?token=JGB56KZ6CU)](https://codecov.io/gh/pylover7/ZgRobot)\n[![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/pylover7/ZgRobot?include_prereleases&sort=semver)](https://github.com/pylover7/ZgRobot/releases)\n[![GitHub all releases](https://img.shields.io/github/downloads/pylover7/ZgRobot/total)](https://github.com/pylover7/ZgRobot/releases)\n[![GitHub](https://img.shields.io/github/license/pylover7/ZgRobot)](https://github.com/pylover7/ZgRobot/blob/master/LICENSE)\n\n[![Documentation Status](https://readthedocs.org/projects/zgrobot/badge/?version=latest)](https://zgrobot.readthedocs.io/zh/latest/?badge=latest)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/zgrobot)](https://pypi.org/project/zgrobot/)\n[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/pylover7/ZgRobot)](https://github.com/pylover7/ZgRobot/commits/feature-update_docs)\n[![wakatime](https://wakatime.com/badge/user/1d39df6a-cef0-41f7-a903-ef4b9dd13fb0.svg)](https://wakatime.com/@1d39df6a-cef0-41f7-a903-ef4b9dd13fb0)\n\n[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://pylover7-upgraded-space-chainsaw-pwgxxw54w6ph6jj.github.dev/)\n\n</b>\n\n`ZgRoBot` \u662f\u4e00\u4e2a\u57fa\u4e8e [`WeRoBot`](https://github.com/offu/WeRoBot) \u5f00\u53d1\u7684\u5fae\u4fe1\u516c\u4f17\u53f7\u540e\u53f0\u5f00\u53d1\u6846\u67b6\uff0c\u91c7\u7528MIT\u534f\u8bae\u53d1\u5e03\u3002\n\n > \u6211\u662f\u6765\u770b\u3010 [\u4f7f\u7528\u6587\u6863](https://zgrobot.readthedocs.io/zh/stable/) \u3011\u7684\uff01\n\n## \u5b89\u88c5\n### \u63a8\u8350\u5b89\u88c5\n\u63a8\u8350\u4f7f\u7528 `pip` \u8fdb\u884c\u5b89\u88c5\uff1a\n```shell\npip install zgrobot\n```\n### \u5176\u4ed6\u5b89\u88c5\u65b9\u6cd5\n1. \u624b\u52a8\u4e0b\u8f7d\u5b89\u88c5\u5305\n - \u4e0b\u8f7d\u5730\u57401\uff1a [release](https://github.com/pylover7/ZgRobot/releases)\n - \u4e0b\u8f7d\u5730\u57402\uff1a[\u84dd\u594f\u4e91\u4ed3\u5e93](https://shuoshuo.lanzoui.com/b016uiu7i) \u3001 [\u84dd\u594f\u4e91\u5907\u7528\u5730\u5740](https://shuoshuo.lanzoux.com/b016uiu7i) \u3010\u5bc6\u7801\uff1a1n86\u3011\n \n2. \u672c\u5730\u5b89\u88c5\n```shell\npip install zgrobot-XXX.tar.gz\n```\n\n### \u66f4\u65b0\n```shell\npip install --upgrade zgrobot\n```\n\n## \u4f7f\u7528\n### Hello World\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```python\nimport zgrobot\n\nrobot = zgrobot.ZgRoBot(token='tokenhere')\n\n@robot.text\ndef hello_world():\n return 'Hello World!'\n\nrobot.run()\n```\n\n### \u9ad8\u7ea7\u4f7f\u7528\n\u8bf7\u53c2\u9605\u3010 [\u4f7f\u7528\u6587\u6863](https://zgrobot.readthedocs.io/zh/stable/) \u3011\n\n## Status\n\n![Alt](https://repobeats.axiom.co/api/embed/1fb76725ce62ccf8879ab82b24b09d18f47664f2.svg \"Repobeats analytics image\")\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=pylover7/ZgRobot&type=Date)](https://star-history.com/#pylover7/ZgRobot&Date)\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "ZgRoBot: writing WeChat Offical Account Robots with fun",
"version": "2.0.5",
"project_urls": {
"Documentation": "https://zgrobot.readthedocs.io/zh/stable/",
"Homepage": "https://github.com/pylover7/ZgRobot",
"Source": "https://github.com/pylover7/ZgRobot",
"Tracker": "https://github.com/pylover7/ZgRobot/issues"
},
"split_keywords": [
"wechat",
"weixin",
"zgrobot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7f074f6ec9ea4a019a5f81bafd93a9de8f06c8f83c91078060ffa4c9d3d4e38f",
"md5": "3b7cdbd6df2e9ed673e7d2e116bc483a",
"sha256": "10764d537819be17a3e0bbe3995b4b2ad6d96e4c0a9a977addb11d4061e9d04e"
},
"downloads": -1,
"filename": "zgrobot-2.0.5-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "3b7cdbd6df2e9ed673e7d2e116bc483a",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3",
"size": 46402,
"upload_time": "2023-05-19T06:40:23",
"upload_time_iso_8601": "2023-05-19T06:40:23.787963Z",
"url": "https://files.pythonhosted.org/packages/7f/07/4f6ec9ea4a019a5f81bafd93a9de8f06c8f83c91078060ffa4c9d3d4e38f/zgrobot-2.0.5-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f0d0d0e4b96eab3ebacfd6d1deff152a948f39c3c0af43cbd75a3da9f3835a61",
"md5": "55d4e0a798e093a6878d19cf696d35ce",
"sha256": "67b21ddceab7dc2e5a1aa9927f1290d9192de4391d9b04f4be38c530f8dce585"
},
"downloads": -1,
"filename": "zgrobot-2.0.5.tar.gz",
"has_sig": false,
"md5_digest": "55d4e0a798e093a6878d19cf696d35ce",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 2683396,
"upload_time": "2023-05-19T06:40:25",
"upload_time_iso_8601": "2023-05-19T06:40:25.402884Z",
"url": "https://files.pythonhosted.org/packages/f0/d0/d0e4b96eab3ebacfd6d1deff152a948f39c3c0af43cbd75a3da9f3835a61/zgrobot-2.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-19 06:40:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pylover7",
"github_project": "ZgRobot",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "zgrobot"
}