qr_sticker ========== .. py:module:: qr_sticker .. autoapi-nested-parse:: Print-ready QR code for the web interface, e.g. as a sticker. uv run tools/qr_sticker.py sticker.png [--url http://epaper.local/] [--size-mm 30] [--dpi 300] Uses the board's own encoder (`qr`) and adds the quiet zone and a caption below the code. Attributes ---------- .. autoapisummary:: qr_sticker.ROOT qr_sticker.FONT qr_sticker.QUIET_ZONE Functions --------- .. autoapisummary:: qr_sticker.sticker qr_sticker.main Module Contents --------------- .. py:data:: ROOT .. py:data:: FONT :value: '/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf' .. py:data:: QUIET_ZONE :value: 4 .. py:function:: sticker(url, size_mm, dpi, caption) Draw a printable QR code for `url` with an optional caption. .. py:function:: main() Run the command line tool.