taolib.testing.qrcode.generator#

Attributes#

Functions#

hex_to_rgb(→ tuple[int, int, int])

create_qr_image(→ PIL.Image.Image)

create_qr_svg(→ str)

Module Contents#

taolib.testing.qrcode.generator.DRAWER_MAP#
taolib.testing.qrcode.generator.hex_to_rgb(hex_color: str) tuple[int, int, int]#
taolib.testing.qrcode.generator.create_qr_image(data: str, fg_color: str = '#7c3aed', bg_color: str = '#0f1117', size: int = 512, error_correction: str = 'H', module_style: str = 'square', logo_data: bytes | None = None, logo_size_pct: int = 20) PIL.Image.Image#
taolib.testing.qrcode.generator.create_qr_svg(data: str, fg_color: str = '#7c3aed', bg_color: str = '#0f1117', size: int = 512, error_correction: str = 'H') str#