The simple tool to generate QR codes
$ git clone https://github.com/NPodlozhniy/qrcode-generator
$ cd qrcode-generator
$ pip install -r requirements.txt
$ python app.py
If you need a specific QR size use the following code
from PIL import Image
p = Image.open('temp.png')
p.resize((1024, 1024)).save('QR.png')