nonebot-plugin-binsearch


Namenonebot-plugin-binsearch JSON
Version 1.3.0 PyPI version JSON
download
home_pageNone
Summary一个Nonebot2插件用于查询信用卡的卡组织,卡等级,卡类型,发卡国等
upload_time2025-02-23 11:56:42
maintainerNone
docs_urlNone
authorMaizi
requires_python<4.0,>=3.8
licenseGPL-3.0
keywords nonebot2 bankcard binsearch
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">

<a href="https://v2.nonebot.dev/store">
  <img src="https://raw.githubusercontent.com/A-kirami/nonebot-plugin-template/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo">
</a>

<p>
  <img src="https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/plugin.svg" alt="NoneBotPluginText">
</p>

# nonebot-plugin-binsearch

_✨ 一个Nonebot2插件用于查询信用卡的卡组织,卡等级,卡类型,发卡国等✨_


<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/owner/nonebot-plugin-binsearch.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-binsearch">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-binsearch.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">

</div>



</details>

## 📖 介绍

一个Nonebot2插件用于查询信用卡的卡组织,卡等级,卡类型,发卡国等

## 💿 安装

<details open>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-binsearch

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

    pip install nonebot-plugin-binsearch
</details>
<details>
<summary>pdm</summary>

    pdm add nonebot-plugin-binsearch
</details>
<details>
<summary>poetry</summary>

    poetry add nonebot-plugin-binsearch
</details>
<details>
<summary>conda</summary>

    conda install nonebot-plugin-binsearch
</details>

打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入

    plugins = ["nonebot_plugin_binsearch"]

</details>

## ⚙️ 配置

在 nonebot2 项目的`.env`文件中添加下表中的必填配置

| 配置项 | 必填 | 默认值 | 说明 |
|:-----:|:----:|:----:|:----:|
| bin_api_key | 是 | 无 | 你的bin查询api秘钥 |
> [!NOTE]
> ### 🔑 如何获取API Key?
>
> 前往以下页面申请API Key:
> [申请页面](https://rapidapi.com/trade-expanding-llc-trade-expanding-llc-default/api/bin-ip-checker/pricing)
> 每月限制查询 **500 次**,你可以通过多账号申请轮换API Key,以避免超出查询限制。


## 🎉 使用
### 指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|:-----:|:----:|:----:|:----:|:----:|
| bin 6位bin | 群员 | 是 | 全局 | 查询bin |
## TODO
- [ ] **多API Key负载均衡**
- [ ] **查询速度限制**
- [ ] **API响应缓存**




            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "nonebot-plugin-binsearch",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": "nonebot2, BankCard, binsearch",
    "author": "Maizi",
    "author_email": "maizicncn@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/7b/f7/3554f1b72aae5271b0b2c8263f2eaa8d3d77bd5f8b0823ba44fa0d116759/nonebot_plugin_binsearch-1.3.0.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n\n<a href=\"https://v2.nonebot.dev/store\">\n  <img src=\"https://raw.githubusercontent.com/A-kirami/nonebot-plugin-template/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\">\n</a>\n\n<p>\n  <img src=\"https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/plugin.svg\" alt=\"NoneBotPluginText\">\n</p>\n\n# nonebot-plugin-binsearch\n\n_\u2728 \u4e00\u4e2aNonebot2\u63d2\u4ef6\u7528\u4e8e\u67e5\u8be2\u4fe1\u7528\u5361\u7684\u5361\u7ec4\u7ec7\uff0c\u5361\u7b49\u7ea7\uff0c\u5361\u7c7b\u578b\uff0c\u53d1\u5361\u56fd\u7b49\u2728_\n\n\n<a href=\"./LICENSE\">\n    <img src=\"https://img.shields.io/github/license/owner/nonebot-plugin-binsearch.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-binsearch\">\n    <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-binsearch.svg\" alt=\"pypi\">\n</a>\n<img src=\"https://img.shields.io/badge/python-3.9+-blue.svg\" alt=\"python\">\n\n</div>\n\n\n\n</details>\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\n\u4e00\u4e2aNonebot2\u63d2\u4ef6\u7528\u4e8e\u67e5\u8be2\u4fe1\u7528\u5361\u7684\u5361\u7ec4\u7ec7\uff0c\u5361\u7b49\u7ea7\uff0c\u5361\u7c7b\u578b\uff0c\u53d1\u5361\u56fd\u7b49\n\n## \ud83d\udcbf \u5b89\u88c5\n\n<details open>\n<summary>\u4f7f\u7528 nb-cli \u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u6839\u76ee\u5f55\u4e0b\u6253\u5f00\u547d\u4ee4\u884c, \u8f93\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\u5b89\u88c5\n\n    nb plugin install nonebot-plugin-binsearch\n\n</details>\n\n<details>\n<summary>\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u63d2\u4ef6\u76ee\u5f55\u4e0b, \u6253\u5f00\u547d\u4ee4\u884c, \u6839\u636e\u4f60\u4f7f\u7528\u7684\u5305\u7ba1\u7406\u5668, \u8f93\u5165\u76f8\u5e94\u7684\u5b89\u88c5\u547d\u4ee4\n\n<details>\n<summary>pip</summary>\n\n    pip install nonebot-plugin-binsearch\n</details>\n<details>\n<summary>pdm</summary>\n\n    pdm add nonebot-plugin-binsearch\n</details>\n<details>\n<summary>poetry</summary>\n\n    poetry add nonebot-plugin-binsearch\n</details>\n<details>\n<summary>conda</summary>\n\n    conda install nonebot-plugin-binsearch\n</details>\n\n\u6253\u5f00 nonebot2 \u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 `pyproject.toml` \u6587\u4ef6, \u5728 `[tool.nonebot]` \u90e8\u5206\u8ffd\u52a0\u5199\u5165\n\n    plugins = [\"nonebot_plugin_binsearch\"]\n\n</details>\n\n## \u2699\ufe0f \u914d\u7f6e\n\n\u5728 nonebot2 \u9879\u76ee\u7684`.env`\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4e0b\u8868\u4e2d\u7684\u5fc5\u586b\u914d\u7f6e\n\n| \u914d\u7f6e\u9879 | \u5fc5\u586b | \u9ed8\u8ba4\u503c | \u8bf4\u660e |\n|:-----:|:----:|:----:|:----:|\n| bin_api_key | \u662f | \u65e0 | \u4f60\u7684bin\u67e5\u8be2api\u79d8\u94a5 |\n> [!NOTE]\n> ### \ud83d\udd11 \u5982\u4f55\u83b7\u53d6API Key\uff1f\n>\n> \u524d\u5f80\u4ee5\u4e0b\u9875\u9762\u7533\u8bf7API Key\uff1a\n> [\u7533\u8bf7\u9875\u9762](https://rapidapi.com/trade-expanding-llc-trade-expanding-llc-default/api/bin-ip-checker/pricing)\n> \u6bcf\u6708\u9650\u5236\u67e5\u8be2 **500 \u6b21**\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u591a\u8d26\u53f7\u7533\u8bf7\u8f6e\u6362API Key\uff0c\u4ee5\u907f\u514d\u8d85\u51fa\u67e5\u8be2\u9650\u5236\u3002\n\n\n## \ud83c\udf89 \u4f7f\u7528\n### \u6307\u4ee4\u8868\n| \u6307\u4ee4 | \u6743\u9650 | \u9700\u8981@ | \u8303\u56f4 | \u8bf4\u660e |\n|:-----:|:----:|:----:|:----:|:----:|\n| bin 6\u4f4dbin | \u7fa4\u5458 | \u662f | \u5168\u5c40 | \u67e5\u8be2bin |\n## TODO\n- [ ] **\u591aAPI Key\u8d1f\u8f7d\u5747\u8861**\n- [ ] **\u67e5\u8be2\u901f\u5ea6\u9650\u5236**\n- [ ] **API\u54cd\u5e94\u7f13\u5b58**\n\n\n\n",
    "bugtrack_url": null,
    "license": "GPL-3.0",
    "summary": "\u4e00\u4e2aNonebot2\u63d2\u4ef6\u7528\u4e8e\u67e5\u8be2\u4fe1\u7528\u5361\u7684\u5361\u7ec4\u7ec7\uff0c\u5361\u7b49\u7ea7\uff0c\u5361\u7c7b\u578b\uff0c\u53d1\u5361\u56fd\u7b49",
    "version": "1.3.0",
    "project_urls": {
        "Documentation": "https://github.com/bankcarddev/nonebot-plugin-binsearch#readme",
        "Homepage": "https://github.com/bankcarddev/nonebot-plugin-binsearch",
        "Repository": "https://github.com/bankcarddev/nonebot-plugin-binsearch"
    },
    "split_keywords": [
        "nonebot2",
        " bankcard",
        " binsearch"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "93bde2faa6daa8b7d138a375f215e4d54e77107dd84729baf8381e0155bd569d",
                "md5": "7e0518f44cab79bc7913fbbf49330136",
                "sha256": "04ced1ed06b7ab4187c3de552f553182069bcc6d8e1c9e7865018d14ad4866dc"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_binsearch-1.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7e0518f44cab79bc7913fbbf49330136",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 16606,
            "upload_time": "2025-02-23T11:56:41",
            "upload_time_iso_8601": "2025-02-23T11:56:41.231851Z",
            "url": "https://files.pythonhosted.org/packages/93/bd/e2faa6daa8b7d138a375f215e4d54e77107dd84729baf8381e0155bd569d/nonebot_plugin_binsearch-1.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7bf73554f1b72aae5271b0b2c8263f2eaa8d3d77bd5f8b0823ba44fa0d116759",
                "md5": "6990936952b490e642400df9596af634",
                "sha256": "faabb24fb7695d15feaeb306c73980791591ecbd3c3576909fe412488a0e257b"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_binsearch-1.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6990936952b490e642400df9596af634",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 15774,
            "upload_time": "2025-02-23T11:56:42",
            "upload_time_iso_8601": "2025-02-23T11:56:42.723420Z",
            "url": "https://files.pythonhosted.org/packages/7b/f7/3554f1b72aae5271b0b2c8263f2eaa8d3d77bd5f8b0823ba44fa0d116759/nonebot_plugin_binsearch-1.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-23 11:56:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bankcarddev",
    "github_project": "nonebot-plugin-binsearch#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-binsearch"
}
        
Elapsed time: 0.89977s