QR Code: in Python

libpng12-0
libpng12-dev
pkg-config
 
Install libqrencode
http://fukuchi.org/works/qrencode/index.en.html
Libqrencode is a C library for encoding data in a QR Code symbol, a kind of 2D symbology that can be scanned by handy terminals such as a mobile phone with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and is highly robust.
Download: http://fukuchi.org/works/qrencode/qrencode-3.1.1.tar.gz
 
Compile & install
./configure
make
make install
 
Usage
qrencode -h
 
 
Install pyqrencode
http://github.com/bitly/pyqrencode
Python bindings for libqrencode
 
Download
http://github.com/bitly/pyqrencode/archives/master
 
Install
python setup.py install
 
Usage
python test_qr.py
 
Problem
$ python test_qr.py
Traceback (most recent call last):
  File "test_qr.py", line 1, in <module>
    from qrencode import Encoder
ImportError: libqrencode.so.3: cannot open shared object file: No such file or directory
Solution
$ export LD_LIBRARY_PATH=/usr/local/lib