Metadata-Version: 2.1
Name: nonebot-plugin-qrcode
Version: 0.0.5
Summary: qq聊天二维码插件
Home-page: https://github.com/kexue-z/nonebot-plugin-qrcode
License: MIT
Author: kexue
Author-email: x@kexue.io.com
Requires-Python: >=3.7.3,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: httpx (>=0.18.0,<1.0.0)
Requires-Dist: nonebot-adapter-onebot (>=2.0.0.beta.1,<3.0.0)
Requires-Dist: nonebot2 (>=2.0.0.beta.1,<3.0.0)
Requires-Dist: pillow (>=8)
Requires-Dist: pyzbar-x (>=0.2.1,<0.3.0)
Requires-Dist: qrcode (>=7.0,<8.0)
Description-Content-Type: text/markdown

# 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

