60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
Metadata-Version: 2.1
|
|
Name: kivy-garden.qrcode
|
|
Version: 2021.314
|
|
Summary: Qrcode generator
|
|
Home-page: https://github.com/kivy-garden/qrcode
|
|
Author: Kivy
|
|
Author-email: kivy@kivy.org
|
|
License: UNKNOWN
|
|
Platform: UNKNOWN
|
|
Requires-Python: >=3
|
|
Description-Content-Type: text/markdown
|
|
Requires-Dist: kivy
|
|
Requires-Dist: qrcode
|
|
|
|
# Module QRCode
|
|
|
|
[](https://travis-ci.com/kivy-garden/qrcode)
|
|
[](https://github.com/kivy-garden/qrcode/actions?query=workflow%3ATests)
|
|
[](https://coveralls.io/github/kivy-garden/qrcode?branch=develop)
|
|
[](https://badge.fury.io/py/kivy-garden.qrcode)
|
|
|
|
<img src="https://raw.githubusercontent.com/kivy-garden/qrcode/develop/screenshot.png?raw=True" align="right" width="256" />
|
|
|
|
A QRCode Widget.
|
|
|
|
## Install
|
|
```sh
|
|
pip install kivy-garden.qrcode
|
|
```
|
|
|
|
## Usage
|
|
|
|
Python:
|
|
```python
|
|
from kivy_garden.qrcode import QRCodeWidget
|
|
parent.add_widget(QRCodeWidget(data="Kivy Rocks"))
|
|
```
|
|
|
|
kv:
|
|
```yaml
|
|
#: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:
|
|
```sh
|
|
make test
|
|
```
|
|
|
|
|