Skip to main content

nonebot

NoneBot Plugin NeZha

哪吒监控插件

License Python NoneBot

安装方式

依赖管理

  • 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 Config

推荐配置项

nezha_api=""
nezha_token=""
# 默认的分组
nezha_arg_default="国内"
# 在线/离线 的文本
nezha_template_online_offline=["🟢","🔴"]

依赖项

python = "^3.9"
nonebot2 = { version = ">=2.3.0", extras = ["httpx"] }
nonebot-plugin-alconna = ">=0.52.2"
jsonpath = "^0.82.2"

相关

效果

  • 哪吒帮助
  • vps
  • vps列表

Metadata

Release files for nonebot-plugin-nezha 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-nezha 0.5.1
File Size Uploaded
nonebot_plugin_nezha-0.5.1.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-nezha 0.5.1
File Interpreter ABI Platform
nonebot_plugin_nezha-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.1 kB

Release files / nonebot_plugin_nezha-0.5.1.tar.gz

Download URL nonebot_plugin_nezha-0.5.1.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b023baf38e77d930c21ca3f7fd507aa254ba7429292feb830d80473760d2ad7f
BLAKE2b-256 checksum
How to use checksums
8d1d8bf6b0e85ef63b56224b4285bfeed642551f62ed6441904c2ec319756047
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure

Release files / nonebot_plugin_nezha-0.5.1-py3-none-any.whl

Download URL nonebot_plugin_nezha-0.5.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20f877c742ec6b4264c252028549984f04f9c8b2f7a7727a9471a9ef4a0be3e4
BLAKE2b-256 checksum
How to use checksums
7cbdb5e6a5776b61c86b9bdfbe9c83e020bbf5d84ab23c70122c57804a589e2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page