qrcode · PyPI
https://pypi.org/project/qrcode01.10.2021 · Or in Python: import qrcode import qrcode.image.svg if method == 'basic': # Simple factory, just a set of rects. factory = qrcode. image. svg. SvgImage elif method == 'fragment': # Fragment factory (also just a set of rects) factory = qrcode. image. svg. SvgFragmentImage else: # Combined path factory, fixes white space that may occur when ...