# nonebot-plugin-qrcode
- 本地识别二维码
- 支持一图片多个二维码
- 支持多图片
# 下载&安装
## 插件本体
```bash
pip install -U nonebot-plugin-qrcode
```
## !!!必须要的库 `libzbar0`
### docker / ubuntu 等使用 `apt` 的
```
apt install -y libzbar0
```
### centos
```
dnf install -y zbar/yum install -zbar
```
# 使用
以下默认你设置了 `COMMAND_START=""`
- `qr`
- 如果指令后**有图片**,则直接识别图片
- 如果**没有图片**,则会询问图片
- `pqr`
- 识别聊天中,上一条图片消息中的二维码
# 挖坑
- [ ] 文本转二维码
# 有疑问
- ~~自己想~~
- pr 或 issue
Raw data
{
"_id": null,
"home_page": "https://github.com/kexue-z/nonebot-plugin-qrcode",
"name": "nonebot-plugin-qrcode",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7.3,<4.0.0",
"maintainer_email": "",
"keywords": "",
"author": "kexue",
"author_email": "x@kexue.io.com",
"download_url": "https://files.pythonhosted.org/packages/35/6d/183584a98f3ba906d73db6f76ac7969fc979e3b57d9e152b730513b35739/nonebot_plugin_qrcode-0.0.6.tar.gz",
"platform": null,
"description": "# nonebot-plugin-qrcode\n\n- \u672c\u5730\u8bc6\u522b\u4e8c\u7ef4\u7801\n- \u652f\u6301\u4e00\u56fe\u7247\u591a\u4e2a\u4e8c\u7ef4\u7801\n- \u652f\u6301\u591a\u56fe\u7247\n\n# \u4e0b\u8f7d&\u5b89\u88c5\n\n## \u63d2\u4ef6\u672c\u4f53\n\n```bash\npip install -U nonebot-plugin-qrcode\n```\n\n## !!!\u5fc5\u987b\u8981\u7684\u5e93 `libzbar0`\n\n### docker / ubuntu \u7b49\u4f7f\u7528 `apt` \u7684\n\n```\napt install -y libzbar0\n```\n\n### centos\n\n```\ndnf install -y zbar/yum install -zbar\n```\n\n# \u4f7f\u7528\n\n\u4ee5\u4e0b\u9ed8\u8ba4\u4f60\u8bbe\u7f6e\u4e86 `COMMAND_START=\"\"`\n\n- `qr`\n\n - \u5982\u679c\u6307\u4ee4\u540e**\u6709\u56fe\u7247**\uff0c\u5219\u76f4\u63a5\u8bc6\u522b\u56fe\u7247\n - \u5982\u679c**\u6ca1\u6709\u56fe\u7247**\uff0c\u5219\u4f1a\u8be2\u95ee\u56fe\u7247\n\n- `pqr`\n - \u8bc6\u522b\u804a\u5929\u4e2d\uff0c\u4e0a\u4e00\u6761\u56fe\u7247\u6d88\u606f\u4e2d\u7684\u4e8c\u7ef4\u7801\n\n# \u6316\u5751\n\n- [ ] \u6587\u672c\u8f6c\u4e8c\u7ef4\u7801\n\n# \u6709\u7591\u95ee\n\n- ~~\u81ea\u5df1\u60f3~~\n- pr \u6216 issue\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "qq\u804a\u5929\u4e8c\u7ef4\u7801\u63d2\u4ef6",
"version": "0.0.6",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "00e4b0e25065721d3f35e44698d50e4e92ca1ffce78bc83da80290df2b8c9470",
"md5": "0f2de4fc45ad3223748606e420aa66fe",
"sha256": "bac4c7ff2f732632f19dc777cfd0439a0fda90c36a0eeed1c649c6e920f1d084"
},
"downloads": -1,
"filename": "nonebot_plugin_qrcode-0.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0f2de4fc45ad3223748606e420aa66fe",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7.3,<4.0.0",
"size": 4427,
"upload_time": "2023-01-04T10:54:24",
"upload_time_iso_8601": "2023-01-04T10:54:24.541684Z",
"url": "https://files.pythonhosted.org/packages/00/e4/b0e25065721d3f35e44698d50e4e92ca1ffce78bc83da80290df2b8c9470/nonebot_plugin_qrcode-0.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "356d183584a98f3ba906d73db6f76ac7969fc979e3b57d9e152b730513b35739",
"md5": "99ae93794a0a33fe0b887cffee9705c0",
"sha256": "a661b408dd6a92319fa42d772933501f43ad3cc210d03ea523860adb16b37827"
},
"downloads": -1,
"filename": "nonebot_plugin_qrcode-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "99ae93794a0a33fe0b887cffee9705c0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7.3,<4.0.0",
"size": 4155,
"upload_time": "2023-01-04T10:54:26",
"upload_time_iso_8601": "2023-01-04T10:54:26.157164Z",
"url": "https://files.pythonhosted.org/packages/35/6d/183584a98f3ba906d73db6f76ac7969fc979e3b57d9e152b730513b35739/nonebot_plugin_qrcode-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-04 10:54:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "kexue-z",
"github_project": "nonebot-plugin-qrcode",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nonebot-plugin-qrcode"
}