nonebot-plugin-mcpic


Namenonebot-plugin-mcpic JSON
Version 0.1.1 PyPI version JSON
download
home_page
Summary随机发送MC建筑图片
upload_time2024-01-07 08:20:30
maintainer
docs_urlNone
author
requires_python>=3.8
licenseMIT License Copyright (c) 2024 wlm3201 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords mcpic
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://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot-plugin-mcpic

_✨ 随机发送MC建筑图片 ✨_


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

</div>

## 📖 介绍

根据指令从爬好的数据库随机查询指定数量MC建筑图片链接下载并发送

图片来自推特图床,需要具备访问能力

## 💿 安装

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

    nb plugin install nonebot-plugin-mcpic

</details>

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

<details>
<summary>pip</summary>

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

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

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

    conda install nonebot-plugin-mcpic
</details>

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

    plugins = ["nonebot_plugin_mcpic"]

</details>

## 🎉 使用
### 指令表

mc|MC|建筑+图片数量

e.g: 建筑, mc20

### 效果图

<img src="https://raw.githubusercontent.com/wlm3201/nonebot-plugin-mcpic/main/eg.png">

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "nonebot-plugin-mcpic",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "mcpic",
    "author": "",
    "author_email": "wlm3201 <wlm3201@qq.com>",
    "download_url": "https://files.pythonhosted.org/packages/03/ee/6de16aede0b6633ca6f0a8a09b8377726633af14cdf18406bfdc5e91eab8/nonebot-plugin-mcpic-0.1.1.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <a href=\"https://v2.nonebot.dev/store\"><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\"></a>\n  <br>\n  <p><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot-plugin-mcpic\n\n_\u2728 \u968f\u673a\u53d1\u9001MC\u5efa\u7b51\u56fe\u7247 \u2728_\n\n\n<a href=\"./LICENSE\">\n    <img src=\"https://img.shields.io/github/license/wlm3201/nonebot-plugin-mcpic.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-mcpic\">\n    <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-mcpic.svg\" alt=\"pypi\">\n</a>\n<img src=\"https://img.shields.io/badge/python-3.8+-blue.svg\" alt=\"python\">\n\n</div>\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\n\u6839\u636e\u6307\u4ee4\u4ece\u722c\u597d\u7684\u6570\u636e\u5e93\u968f\u673a\u67e5\u8be2\u6307\u5b9a\u6570\u91cfMC\u5efa\u7b51\u56fe\u7247\u94fe\u63a5\u4e0b\u8f7d\u5e76\u53d1\u9001\n\n\u56fe\u7247\u6765\u81ea\u63a8\u7279\u56fe\u5e8a\uff0c\u9700\u8981\u5177\u5907\u8bbf\u95ee\u80fd\u529b\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-mcpic\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-mcpic\n</details>\n<details>\n<summary>pdm</summary>\n\n    pdm add nonebot-plugin-mcpic\n</details>\n<details>\n<summary>poetry</summary>\n\n    poetry add nonebot-plugin-mcpic\n</details>\n<details>\n<summary>conda</summary>\n\n    conda install nonebot-plugin-mcpic\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_mcpic\"]\n\n</details>\n\n## \ud83c\udf89 \u4f7f\u7528\n### \u6307\u4ee4\u8868\n\nmc|MC|\u5efa\u7b51+\u56fe\u7247\u6570\u91cf\n\ne.g: \u5efa\u7b51, mc20\n\n### \u6548\u679c\u56fe\n\n<img src=\"https://raw.githubusercontent.com/wlm3201/nonebot-plugin-mcpic/main/eg.png\">\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 wlm3201  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "\u968f\u673a\u53d1\u9001MC\u5efa\u7b51\u56fe\u7247",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/wlm3201/nonebot-plugin-mcpic"
    },
    "split_keywords": [
        "mcpic"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c5088e9f384ff6824cc945cbce4eec9136c066315afc6224054b8dba00d4562d",
                "md5": "d378158366c938a9ba936504c8dfcdba",
                "sha256": "845fb0fedb748dbfecdf19e6638f8ca993c6a33f4d8e9b1530cdc5d6791fbd32"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_mcpic-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d378158366c938a9ba936504c8dfcdba",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5878,
            "upload_time": "2024-01-07T08:20:29",
            "upload_time_iso_8601": "2024-01-07T08:20:29.206420Z",
            "url": "https://files.pythonhosted.org/packages/c5/08/8e9f384ff6824cc945cbce4eec9136c066315afc6224054b8dba00d4562d/nonebot_plugin_mcpic-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "03ee6de16aede0b6633ca6f0a8a09b8377726633af14cdf18406bfdc5e91eab8",
                "md5": "b89997ece5b3b0b7e0f855c9b2e34343",
                "sha256": "390ec97178803930c7d400befec93be181c466b0168d9bb94e33aee053cfc602"
            },
            "downloads": -1,
            "filename": "nonebot-plugin-mcpic-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b89997ece5b3b0b7e0f855c9b2e34343",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4062,
            "upload_time": "2024-01-07T08:20:30",
            "upload_time_iso_8601": "2024-01-07T08:20:30.618712Z",
            "url": "https://files.pythonhosted.org/packages/03/ee/6de16aede0b6633ca6f0a8a09b8377726633af14cdf18406bfdc5e91eab8/nonebot-plugin-mcpic-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-07 08:20:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "wlm3201",
    "github_project": "nonebot-plugin-mcpic",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-mcpic"
}
        
Elapsed time: 0.91003s