Skip to content

kivy-garden/qrcode

Repository files navigation

Module QRCode

Build Status Github Actions Tests Coverage Status PyPI version

A QRCode Widget.

Install

pip install kivy-garden.qrcode

Usage

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'

Contribute

Pull requests are welcome, simply make sure tests are passing via:

make test