Python Google Chart 0.2.1 released
I just released pygooglechart 0.2.1. It has several bug fixes and minor additions, but the major change is that it now supports QR codes. You can quite easily create a QR code with pygooglechart as you can see below.
from pygooglechart import QRChart # Create a 125x125 QR code chart chart = QRChart(125, 125) # Add the text chart.add_data('Hello, World!') # "Level H" error correction with a 0 pixel margin chart.set_ec('H', 0) # Download chart.download('qr-hello.png')
This will download a png from the URL:
The image downloaded looks like this:
QR codes are new to me. I’ve only seen a QR code on a bus stop advertisement once in Sydney but I’m sure more will pop up.