This commit is contained in:
yumoqing 2026-02-25 11:35:00 +08:00
parent 7dc11e6c35
commit fe29022e8d
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import qrcode
def gen_qr(data, path):
qr = =qrcode.QRCode(
qr = qrcode.QRCode(
version=1, # 控制二维码大小1~40
error_correction=qrcode.constants.ERROR_CORRECT_L, # 容错率 L(7%)、M(15%)、Q(25%)、H(30%)
box_size=10, # 每个格子的像素大小

View File

@ -1,6 +1,6 @@
[metadata]
name=appPublic
version = 5.3.0
version = 5.3.1
description = A set of base public functions or class
author = "yu moqing"
author_email = "yumoqing@gmail.com"
@ -10,6 +10,8 @@ license = "MIT"
packages = find:
requires_python = ">=3.8"
install_requires =
pillow
qrcode
xlrd
bs4
xlwt