📖 简介
节选自原网站:
同一件商品,不同的搜索词,价格可能会天差地别。
这个工具旨在帮助你找到最便宜的搜索词:
输入你想搜索的商品名,AI 会给出低价的替代品,结果可能不准,开心就好 :)
经济寒冬,商品可以平替,但你的生活无法被平替。
💿 安装
以下提到的方法 任选其一 即可
[推荐] 使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-pingti
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-pingti
pdm
pdm add nonebot-plugin-pingti
poetry
poetry add nonebot-plugin-pingti
conda
conda install nonebot-plugin-pingti
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分的 plugins 项里追加写入
[tool.nonebot]
plugins = [
# ...
"nonebot_plugin_pingti"
]
⚙️ 配置
在 NoneBot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
PINGTI_PROXY |
否 | 无 | 请求使用的代理地址 |
PINGTI_REQUEST_TIMEOUT |
否 | 5 |
请求超时时间,单位为秒 |
PINGTI_SEND_TIP |
否 | True |
是否发送提示消息 |
PINGTI_RECALL_TIP |
否 | True |
发送提示消息后是否自动撤回 |
PINGTI_SHOW_ZERO_FEEDBACK |
否 | False |
是否展示数量为 0 的评价 |
🎉 使用
指令:平替
📞 联系
QQ:3076823485
Telegram:@lgc2333
吹水群:1105946125
邮箱:lgc2333@126.com
💡 鸣谢
pingti.app
- 服务提供
ilharp/koishi-plugin-pingti
抄袭借鉴
💰 赞助
感谢大家的赞助!你们的赞助将是我继续创作的动力!
📝 更新日志
0.2.0
- 重构插件
- 新增配置项
PINGTI_SHOW_ZERO_FEEDBACK
0.1.4
- 修复 #2
- 兼容 Pydantic V2
0.1.3
- 修复无法使用的问题
0.1.2
- 实现 #1:
- 重命名配置项
PROXY->PINGTI_PROXY - 添加配置项
PINGTI_SEND_TIP - 添加配置项
PINGTI_RECALL_TIP
- 重命名配置项
0.1.1
- 优化部分逻辑
Metadata
Release files for nonebot-plugin-pingti 0.2.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_pingti-0.2.0.post1.tar.gz | 6.1 kB | Without provenance | Details for nonebot_plugin_pingti-0.2.0.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_pingti-0.2.0.post1-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_pingti-0.2.0.post1-py3-none-any.whl |
Total release size: 14.1 kB
Release files / nonebot_plugin_pingti-0.2.0.post1.tar.gz
| Download URL | nonebot_plugin_pingti-0.2.0.post1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b05515fa48c75f67b831ec6825c25b194ee7a1e0e7d2bcd72e7796904504df37
|
|
BLAKE2b-256 checksum How to use checksums |
260f74395e2e05c61dc5e08ad002573c82d8b25e2ca9483de64c95c6743311ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.22.0 CPython/3.10.12 Linux/6.5.0-1025-azure
|
Release files / nonebot_plugin_pingti-0.2.0.post1-py3-none-any.whl
| Download URL | nonebot_plugin_pingti-0.2.0.post1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
469678a25038eef56e14ac03d2cc4ed3a7804638720c17cbdc275bde7f85f477
|
|
BLAKE2b-256 checksum How to use checksums |
5937ccd65627aa91e37f3a98932631be7a2146ecbd0cd522b4c1d8331542afcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.22.0 CPython/3.10.12 Linux/6.5.0-1025-azure
|
Security for nonebot-plugin-pingti 0.2.0.post1
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.