📖 介绍
一个Nonebot2插件用于查询信用卡的卡组织,卡等级,卡类型,发卡国等
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-binsearch
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-binsearch
pdm
pdm add nonebot-plugin-binsearch
poetry
poetry add nonebot-plugin-binsearch
conda
conda install nonebot-plugin-binsearch
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_binsearch"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| bin_api_key | 是 | 无 | 你的bin查询api秘钥 |
| ignore_user_ids | 否 | [3938088854] | 忽略查询的用户 ID 列表 |
| bin_user_cooldown | 否 | 10 | 单个用户查询冷却时间,单位秒;设为 0 可关闭 |
| bin_group_cooldown | 否 | 3 | 单个群查询冷却时间,单位秒;设为 0 可关闭 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| bin 6位bin | 群员 | 是 | 全局 | 查询bin |
TODO
- 多API Key负载均衡
- 查询速度限制
- API响应缓存
Metadata
Release files for nonebot-plugin-binsearch 3.3.1
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_binsearch-3.3.1.tar.gz | 9.4 MB | Without provenance | Details for nonebot_plugin_binsearch-3.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_binsearch-3.3.1-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_binsearch-3.3.1-py3-none-any.whl |
Total release size: 18.7 MB
Release files / nonebot_plugin_binsearch-3.3.1.tar.gz
| Download URL | nonebot_plugin_binsearch-3.3.1.tar.gz |
|---|---|
| Size | 9.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f20778212486846bd6f7f8490d9bcaf960bb47a5b86a99bda6f10936541cbc9
|
|
BLAKE2b-256 checksum How to use checksums |
b3eddb97eb748925f290d625b83a547b03e0ff9569ed98a68b9bd257ce0d0738
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / nonebot_plugin_binsearch-3.3.1-py3-none-any.whl
| Download URL | nonebot_plugin_binsearch-3.3.1-py3-none-any.whl |
|---|---|
| Size | 9.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b443c639e5e1fd7d93f9d6f9956ef55abc7523672a822770dba7b9ec1eef94d4
|
|
BLAKE2b-256 checksum How to use checksums |
7c9e95e9a602076c43d763d74c486fc6d62227019e8450a010279731e1ae5ea0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for nonebot-plugin-binsearch 3.3.1
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.