nonebot-plugin-checkbpm


Namenonebot-plugin-checkbpm JSON
Version 1.0.7 PyPI version JSON
download
home_pageNone
Summary基于Librosa的音频文件BPM计算器 通过上传到群文件方式计算音频文件的bpm值(beat per minute)
upload_time2024-12-31 19:14:57
maintainerNone
docs_urlNone
authorAnt1
requires_python>=3.9
licenseMIT License Copyright (c) 2024 Ant1 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 nonebot2 bpm music
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-checkbpm

_✨ 基于Librosa的音频文件BPM计算器 ✨_

[![LICENSE](https://img.shields.io/github/license/Ant1816/nonebot-plugin-checkbpm.svg)](https://github.com/Ant1816/nonebot-plugin-checkbpm/blob/master/LICENSE)
[![PYPI](https://img.shields.io/pypi/v/nonebot-plugin-checkbpm.svg)](https://pypi.python.org/pypi/nonebot-plugin-checkbpm)
[![Python3.9+](https://img.shields.io/badge/Python-3.9+-blue)](https://www.python.org)
[![nonebot2](https://img.shields.io/badge/NoneBot2-2.3.1+-red)](https://github.com/nonebot/nonebot2)
[![onebotv11](https://img.shields.io/badge/OneBot-v11-yellow)](https://github.com/botuniverse/onebot-11)

</div>

## 📖 介绍

通过上传到群文件方式计算音频文件的bpm值(beat per minute)

<div align="center">

## 有问题或想法欢迎提issue以及pr!!!

</div>

## 💿 安装

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

    nb plugin install nonebot-plugin-checkbpm

</details>

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

<details>
<summary>pip</summary>

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

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

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

    conda install nonebot-plugin-checkbpm
</details>

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

    plugins = ["nonebot_plugin_checkbpm"]

</details>

## ⚙️ 配置

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

| 配置项 | 必填 |   默认值   |                            说明                             |
|:---:|:--:|:-------:|:---------------------------------------------------------:|
|  无  |  无  |  无  |  无  |

## 🎉 使用
### 指令表
|                        指令                        | 权限 | 需要@ | 范围 |        说明        |
|:------------------------------------------------:|:----:|:----:|:----:|:----------------:|
|                     bpm help                     | 群员 | 否 | 群聊 |      获取指令帮助      |
| bpmcheck/bpm计算/checkbpm/bpm检查 <文件名.mp3/flac/wav> | 群员 | 否 | 群聊 |      计算指定音频文件BPM值      |

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "nonebot-plugin-checkbpm",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "Ant1 <glz15757339816@gmail.com>",
    "keywords": "nonebot2, bpm, music",
    "author": "Ant1",
    "author_email": "glz15757339816@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d5/64/02fa0a0711ac692deb413e07be2d798e6e9cce25d862e8ef83a7c3383a46/nonebot_plugin_checkbpm-1.0.7.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-checkbpm\n\n_\u2728 \u57fa\u4e8eLibrosa\u7684\u97f3\u9891\u6587\u4ef6BPM\u8ba1\u7b97\u5668 \u2728_\n\n[![LICENSE](https://img.shields.io/github/license/Ant1816/nonebot-plugin-checkbpm.svg)](https://github.com/Ant1816/nonebot-plugin-checkbpm/blob/master/LICENSE)\n[![PYPI](https://img.shields.io/pypi/v/nonebot-plugin-checkbpm.svg)](https://pypi.python.org/pypi/nonebot-plugin-checkbpm)\n[![Python3.9+](https://img.shields.io/badge/Python-3.9+-blue)](https://www.python.org)\n[![nonebot2](https://img.shields.io/badge/NoneBot2-2.3.1+-red)](https://github.com/nonebot/nonebot2)\n[![onebotv11](https://img.shields.io/badge/OneBot-v11-yellow)](https://github.com/botuniverse/onebot-11)\n\n</div>\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\n\u901a\u8fc7\u4e0a\u4f20\u5230\u7fa4\u6587\u4ef6\u65b9\u5f0f\u8ba1\u7b97\u97f3\u9891\u6587\u4ef6\u7684bpm\u503c\uff08beat per minute\uff09\n\n<div align=\"center\">\n\n## \u6709\u95ee\u9898\u6216\u60f3\u6cd5\u6b22\u8fce\u63d0issue\u4ee5\u53capr\uff01\uff01\uff01\n\n</div>\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-checkbpm\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-checkbpm\n</details>\n<details>\n<summary>pdm</summary>\n\n    pdm add nonebot-plugin-checkbpm\n</details>\n<details>\n<summary>poetry</summary>\n\n    poetry add nonebot-plugin-checkbpm\n</details>\n<details>\n<summary>conda</summary>\n\n    conda install nonebot-plugin-checkbpm\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_checkbpm\"]\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|  \u65e0  |  \u65e0  |  \u65e0  |  \u65e0  |\n\n## \ud83c\udf89 \u4f7f\u7528\n### \u6307\u4ee4\u8868\n|                        \u6307\u4ee4                        | \u6743\u9650 | \u9700\u8981@ | \u8303\u56f4 |        \u8bf4\u660e        |\n|:------------------------------------------------:|:----:|:----:|:----:|:----------------:|\n|                     bpm help                     | \u7fa4\u5458 | \u5426 | \u7fa4\u804a |      \u83b7\u53d6\u6307\u4ee4\u5e2e\u52a9      |\n| bpmcheck/bpm\u8ba1\u7b97/checkbpm/bpm\u68c0\u67e5 <\u6587\u4ef6\u540d.mp3/flac/wav> | \u7fa4\u5458 | \u5426 | \u7fa4\u804a |      \u8ba1\u7b97\u6307\u5b9a\u97f3\u9891\u6587\u4ef6BPM\u503c      |\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Ant1  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": "\u57fa\u4e8eLibrosa\u7684\u97f3\u9891\u6587\u4ef6BPM\u8ba1\u7b97\u5668 \u901a\u8fc7\u4e0a\u4f20\u5230\u7fa4\u6587\u4ef6\u65b9\u5f0f\u8ba1\u7b97\u97f3\u9891\u6587\u4ef6\u7684bpm\u503c\uff08beat per minute\uff09",
    "version": "1.0.7",
    "project_urls": {
        "changelog": "https://github.com/Ant1816/nonebot-plugin-checkbpm/commits/master/",
        "documentation": "https://github.com/Ant1816/nonebot-plugin-checkbpm/blob/master/README.md",
        "homepage": "https://github.com/Ant1816/nonebot-plugin-checkbpm",
        "repository": "https://github.com/Ant1816/nonebot-plugin-checkbpm"
    },
    "split_keywords": [
        "nonebot2",
        " bpm",
        " music"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "80af199d6b53708adfa290af8d4b2756a6176031fa5b258843c2ae381033b989",
                "md5": "63685c4782045043bc753f761e3484e4",
                "sha256": "693548484312238e7bceb7f152857fb1e917d8a1c32a6239c63460d29b76ebae"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_checkbpm-1.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "63685c4782045043bc753f761e3484e4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 5955,
            "upload_time": "2024-12-31T19:14:56",
            "upload_time_iso_8601": "2024-12-31T19:14:56.634838Z",
            "url": "https://files.pythonhosted.org/packages/80/af/199d6b53708adfa290af8d4b2756a6176031fa5b258843c2ae381033b989/nonebot_plugin_checkbpm-1.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d56402fa0a0711ac692deb413e07be2d798e6e9cce25d862e8ef83a7c3383a46",
                "md5": "620545aa755ef1623feba9804e96f318",
                "sha256": "3b5ff367737c223cc862cb9e8deec2b7caff08fdee832e5b4ed08de72db0d4ad"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_checkbpm-1.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "620545aa755ef1623feba9804e96f318",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 5026,
            "upload_time": "2024-12-31T19:14:57",
            "upload_time_iso_8601": "2024-12-31T19:14:57.651205Z",
            "url": "https://files.pythonhosted.org/packages/d5/64/02fa0a0711ac692deb413e07be2d798e6e9cce25d862e8ef83a7c3383a46/nonebot_plugin_checkbpm-1.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-31 19:14:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Ant1816",
    "github_project": "nonebot-plugin-checkbpm",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-checkbpm"
}
        
Elapsed time: 0.39283s