Name | nonebot-plugin-nezha JSON |
Version |
0.5.1
JSON |
| download |
home_page | None |
Summary | nonebot哪吒监控插件,使用哪吒监控API。 |
upload_time | 2024-09-03 10:37:45 |
maintainer | None |
docs_url | None |
author | eya46 |
requires_python | <4.0,>=3.9 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<p align="center">
<a href="https://nonebot.dev/"><img src="https://nonebot.dev/logo.png" width="200" height="200" alt="nonebot"></a>
</p>
<div align="center">
# NoneBot Plugin NeZha
## 哪吒监控插件
![License](https://img.shields.io/github/license/eya46/nonebot_plugin_nezha)
![Python](https://img.shields.io/badge/python-3.9+-blue.svg)
![NoneBot](https://img.shields.io/badge/nonebot-2.3.0+-red.svg)
</div>
## 安装方式
### 依赖管理
- `pip install nonebot-plugin-nezha`
- `poetry add nonebot-plugin-nezha`
- `pdm add nonebot-plugin-nezha`
> 在 `bot.py` 中添加 `nonebot.load_plugin("nonebot_plugin_nezha")`
### nb-cli
- `nb plugin install nonebot-plugin-nezha`
## 使用方式
- 哪吒帮助 [index: int]
- vps列表 [tag: str]
- vps [arg: int|str]
## 配置项
### 必要配置项
- `nezha_api`: 哪吒监控 api地址
- `nezha_token`: 哪吒监控 token
### 非必要配置项
详见 [config.py](./nonebot_plugin_nezha/config.py) [Config](./nonebot_plugin_nezha/config.py#L10-L59)
### 推荐配置项
```dotenv
nezha_api=""
nezha_token=""
# 默认的分组
nezha_arg_default="国内"
# 在线/离线 的文本
nezha_template_online_offline=["🟢","🔴"]
```
## 依赖项
```toml
python = "^3.9"
nonebot2 = { version = ">=2.3.0", extras = ["httpx"] }
nonebot-plugin-alconna = ">=0.52.2"
jsonpath = "^0.82.2"
```
## 相关
- 哪吒监控官网 https://nezha.wiki
- 哪吒监控项目地址 https://github.com/naiba/nezha
## 效果
- 哪吒帮助
<img src="./img/0.jpg">
- vps
<img src="./img/1.jpg">
- vps列表
<img src="./img/2.jpg">
Raw data
{
"_id": null,
"home_page": null,
"name": "nonebot-plugin-nezha",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "eya46",
"author_email": "61458340+eya46@users.noreply.github.com",
"download_url": "https://files.pythonhosted.org/packages/8d/1d/8bf6b0e85ef63b56224b4285bfeed642551f62ed6441904c2ec319756047/nonebot_plugin_nezha-0.5.1.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <a href=\"https://nonebot.dev/\"><img src=\"https://nonebot.dev/logo.png\" width=\"200\" height=\"200\" alt=\"nonebot\"></a>\n</p>\n\n<div align=\"center\">\n\n# NoneBot Plugin NeZha\n\n## \u54ea\u5412\u76d1\u63a7\u63d2\u4ef6\n\n![License](https://img.shields.io/github/license/eya46/nonebot_plugin_nezha)\n![Python](https://img.shields.io/badge/python-3.9+-blue.svg)\n![NoneBot](https://img.shields.io/badge/nonebot-2.3.0+-red.svg)\n</div>\n\n## \u5b89\u88c5\u65b9\u5f0f\n\n### \u4f9d\u8d56\u7ba1\u7406\n\n- `pip install nonebot-plugin-nezha`\n- `poetry add nonebot-plugin-nezha`\n- `pdm add nonebot-plugin-nezha`\n\n> \u5728 `bot.py` \u4e2d\u6dfb\u52a0 `nonebot.load_plugin(\"nonebot_plugin_nezha\")`\n\n### nb-cli\n\n- `nb plugin install nonebot-plugin-nezha`\n\n## \u4f7f\u7528\u65b9\u5f0f\n\n- \u54ea\u5412\u5e2e\u52a9 [index: int]\n- vps\u5217\u8868 [tag: str]\n- vps [arg: int|str]\n\n## \u914d\u7f6e\u9879\n\n### \u5fc5\u8981\u914d\u7f6e\u9879\n\n- `nezha_api`: \u54ea\u5412\u76d1\u63a7 api\u5730\u5740\n- `nezha_token`: \u54ea\u5412\u76d1\u63a7 token\n\n### \u975e\u5fc5\u8981\u914d\u7f6e\u9879\n\n\u8be6\u89c1 [config.py](./nonebot_plugin_nezha/config.py) [Config](./nonebot_plugin_nezha/config.py#L10-L59)\n\n### \u63a8\u8350\u914d\u7f6e\u9879\n\n```dotenv\nnezha_api=\"\"\nnezha_token=\"\"\n# \u9ed8\u8ba4\u7684\u5206\u7ec4\nnezha_arg_default=\"\u56fd\u5185\"\n# \u5728\u7ebf/\u79bb\u7ebf \u7684\u6587\u672c\nnezha_template_online_offline=[\"\ud83d\udfe2\",\"\ud83d\udd34\"]\n```\n\n## \u4f9d\u8d56\u9879\n\n```toml\npython = \"^3.9\"\nnonebot2 = { version = \">=2.3.0\", extras = [\"httpx\"] }\nnonebot-plugin-alconna = \">=0.52.2\"\njsonpath = \"^0.82.2\"\n```\n\n## \u76f8\u5173\n\n- \u54ea\u5412\u76d1\u63a7\u5b98\u7f51 https://nezha.wiki\n- \u54ea\u5412\u76d1\u63a7\u9879\u76ee\u5730\u5740 https://github.com/naiba/nezha\n\n## \u6548\u679c\n\n- \u54ea\u5412\u5e2e\u52a9\n <img src=\"./img/0.jpg\">\n- vps\n <img src=\"./img/1.jpg\">\n- vps\u5217\u8868\n <img src=\"./img/2.jpg\">",
"bugtrack_url": null,
"license": "MIT",
"summary": "nonebot\u54ea\u5412\u76d1\u63a7\u63d2\u4ef6\uff0c\u4f7f\u7528\u54ea\u5412\u76d1\u63a7API\u3002",
"version": "0.5.1",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7cbdb5e6a5776b61c86b9bdfbe9c83e020bbf5d84ab23c70122c57804a589e2b",
"md5": "3f1b6ab1c4c2344209068e848efdbcb0",
"sha256": "20f877c742ec6b4264c252028549984f04f9c8b2f7a7727a9471a9ef4a0be3e4"
},
"downloads": -1,
"filename": "nonebot_plugin_nezha-0.5.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3f1b6ab1c4c2344209068e848efdbcb0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 9186,
"upload_time": "2024-09-03T10:37:44",
"upload_time_iso_8601": "2024-09-03T10:37:44.366211Z",
"url": "https://files.pythonhosted.org/packages/7c/bd/b5e6a5776b61c86b9bdfbe9c83e020bbf5d84ab23c70122c57804a589e2b/nonebot_plugin_nezha-0.5.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8d1d8bf6b0e85ef63b56224b4285bfeed642551f62ed6441904c2ec319756047",
"md5": "30d77214385505d9b1f1b3912f7dcb1c",
"sha256": "b023baf38e77d930c21ca3f7fd507aa254ba7429292feb830d80473760d2ad7f"
},
"downloads": -1,
"filename": "nonebot_plugin_nezha-0.5.1.tar.gz",
"has_sig": false,
"md5_digest": "30d77214385505d9b1f1b3912f7dcb1c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 6893,
"upload_time": "2024-09-03T10:37:45",
"upload_time_iso_8601": "2024-09-03T10:37:45.304499Z",
"url": "https://files.pythonhosted.org/packages/8d/1d/8bf6b0e85ef63b56224b4285bfeed642551f62ed6441904c2ec319756047/nonebot_plugin_nezha-0.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-03 10:37:45",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "nonebot-plugin-nezha"
}