kumquat-buildroot/support/testing/tests/package/sample_python_qrcode.py
Thomas Petazzoni 37f05c2497 package/python-qrcode: new package
Needed by python-autobahn encryption subpackage.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-08-08 22:24:45 +02:00

4 lines
115 B
Python

import qrcode
import qrcode.image.svg
img = qrcode.make('Some data here', image_factory=qrcode.image.svg.SvgImage)