Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kivy-garden/qrcode
Qrcode generator
https://github.com/kivy-garden/qrcode
Last synced: about 1 month ago
JSON representation
Qrcode generator
- Host: GitHub
- URL: https://github.com/kivy-garden/qrcode
- Owner: kivy-garden
- License: mit
- Created: 2019-09-12T17:39:58.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2021-03-14T11:29:42.000Z (almost 4 years ago)
- Last Synced: 2024-11-11T12:34:30.837Z (about 1 month ago)
- Language: Python
- Size: 65.4 KB
- Stars: 9
- Watchers: 8
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Module QRCode
[![Build Status](https://travis-ci.com/kivy-garden/qrcode.svg?branch=develop)](https://travis-ci.com/kivy-garden/qrcode)
[![Github Actions Tests](https://github.com/kivy-garden/qrcode/workflows/Tests/badge.svg)](https://github.com/kivy-garden/qrcode/actions?query=workflow%3ATests)
[![Coverage Status](https://coveralls.io/repos/github/kivy-garden/qrcode/badge.svg?branch=develop)](https://coveralls.io/github/kivy-garden/qrcode?branch=develop)
[![PyPI version](https://badge.fury.io/py/kivy-garden.qrcode.svg)](https://badge.fury.io/py/kivy-garden.qrcode)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.qrcodeBoxLayout:
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
```