跳转到主要内容

二维码生成器

项目描述

模块 QRCode

Build Status Github Actions Tests Coverage Status PyPI version

二维码小部件。

安装

pip install kivy-garden.qrcode

使用

Python

from kivy_garden.qrcode import QRCodeWidget
parent.add_widget(QRCodeWidget(data="Kivy Rocks"))

kv

#:import QRCodeWidget kivy_garden.qrcode

BoxLayout:
    orientation: 'vertical'
    Button:
        text: 'press to change qrcode'
        on_release: qr.data = "Kivy Rocks!"
    QRCodeWidget:
        id: qr
        data: 'Hello World'

贡献

欢迎提交拉取请求,只需确保通过测试即可

make test

项目详情


下载文件

下载适合您平台文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

kivy_garden.qrcode-2021.314.tar.gz (4.4 kB 查看哈希值)

上传时间:

构建分布

kivy_garden.qrcode-2021.314-py3-none-any.whl (5.8 kB 查看哈希值)

上传时间: Python 3

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面