Skip to main content

nonebot-plugin-b50-analysis

PyPI NoneBot2 License

舞萌DX B50 数据分析 NoneBot2 插件。从水鱼查分器拉取用户数据,调用 LLM 生成锐评文本并渲染分析图。

相关项目:HanYaaaaaaa/analyze-b50

安装

nb install nonebot-plugin-b50-analysis
# 或
pip install nonebot-plugin-b50-analysis

必需: assets 资源包:

# 下载并解压到任意目录,然后在 .env 中配置 B50_ASSETS_PATH
curl -O http://dw.moant.cn:34274/assets.zip
unzip assets.zip -d /path/to/assets

配置

在项目的 .env 或 .env.prod 或env.dev中添加以下变量:

# 必填:OpenAI 兼容 API 的 base URL(末尾不带斜杠)
B50_LLM_URL=https://api.openai.com/v1

# 必填:API Key
B50_LLM_KEY=sk-xxxxxxxxxxxxxxxx

# 可选:模型名称,默认 gemini-3-flash-preview
B50_LLM_MODEL=gemini-3-flash-preview

# 必填:assets 目录路径(含字体、图标、peer_stats.zip、cover)
B50_ASSETS_PATH=/path/to/assets
# 必填:使用次数 0为无限
B50_DAILY_LIMIT=5
#可选: 水鱼开发者 token
MAIMAIDXTOKEN=xxx

推荐模型:gemini-3-flash-preview 低预算推荐模型:deepseek-v4-flash

使用

指令 说明
分析b50 默认风格分析自己的 B50
分析b50 [风格/需求] 用指定风格或需求分析自己的 B50
重置分析次数 [qq号/@用户] 重置用户的当日可用次数

示例输出

示例输出

更新说明

  • 05/17 优化了制图,新增了 LLM 审查,可配置次数限制,新增了推分推荐模块,会根据用户需求或用户配置长短板综合推荐配置特化谱。

鸣谢

  • 感谢贡献开发者:f090

免责声明

  • 本项目未与华立科技所运营的《舞萌DX》通讯服务器进行连接,不会对玩家账号数据造成任何影响。
  • 本项目数据库中保护了用户隐私,样本数据来源于OneCatBot,游玩数据仅供模型训练,并未涉及用户隐私。
  • 本项目llm提示词学习的口吻均为ai爬虫在互联网自行学习,非个人意向。
  • 本项目大部分由 AI 辅助生成。

License

MIT

Metadata

Release files for nonebot-plugin-b50-analysis 0.1.2

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-b50-analysis 0.1.2
File Size Uploaded Provenance Actions
nonebot_plugin_b50_analysis-0.1.2.tar.gz 33.8 kB Without provenance Details for nonebot_plugin_b50_analysis-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-b50-analysis 0.1.2
File Interpreter ABI Platform Actions
nonebot_plugin_b50_analysis-0.1.2-py3-none-any.whl Python 3 none any Details for nonebot_plugin_b50_analysis-0.1.2-py3-none-any.whl

Total release size: 72.4 kB

Release files / nonebot_plugin_b50_analysis-0.1.2.tar.gz

Download URL nonebot_plugin_b50_analysis-0.1.2.tar.gz
Size 33.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9e18fb90459332d42a83336724c7b64d9edb967863c7ecfe6458a836c6b01006
BLAKE2b-256 checksum
How to use checksums
d28cc0dc8ae6e0f617d706e669f6b56d80951b114fd5a5dee11e3611e8d6ea9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Release files / nonebot_plugin_b50_analysis-0.1.2-py3-none-any.whl

Download URL nonebot_plugin_b50_analysis-0.1.2-py3-none-any.whl
Size 38.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0041b25bf0ec405a11a91e9315c89a988fe0a28f7c8075ebd9c5ca3d03d1ea63
BLAKE2b-256 checksum
How to use checksums
4f7088a76c46ab510a1ff8cbe856e21e6e12af60a0eb45844979ead8b4a5f952
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Security for nonebot-plugin-b50-analysis 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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