qrcode · PyPI
https://pypi.org/project/qrcode01.10.2021 · SvgPathImage img = qrcode. make ('Some data here', image_factory = factory) Two other related factories are available that work the same, but also fill the background of the SVG with white: qrcode.image.svg.SvgFillImage qrcode.image.svg.SvgPathFillImage
qrcode · PyPI
pypi.org › project › qrcodeOct 01, 2021 · Add QRCode.get_matrix, an easy way to get the matrix array of a QR code including the border. Thanks Hugh Rawlinson. Add in a workaround so that Python 2.6 users can use SVG generation (they must install lxml ).