Flask extension for generating qr codes