Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
python bindings for libqrencode
C Python
branch: master

Merge pull request #4 from meawoppl/master

Added a quick update info about ubuntu and packages etc.
latest commit ae60b76b87
@mreiferson mreiferson authored

README

Python bindings for libqrencode (http://fukuchi.org/works/qrencode/index.en.html) using Cython


Credit and inspiration to:
 - http://pyqrcode.sourceforge.net/
 (this is essentially a cleaned up version of the Encoder, eliminating all the Java dependencies)
 
 - libqrencode, by Fukuchi Kentaro
 http://megaui.net/fukuchi/works/qrencode/index.en.html

 - PyQrCodec, by Stefano Pedemonte
 http://www.pedemonte.eu/pyqr/index.py/pyqrhome


Tested on:
 * Mac OSX 10.6.4 Snow Leopard, Python 2.6.1 (64-bit)
 * CentOS 5.5, Python 2.6.4 (64-bit)
 * Ubuntu Precise Pangolin 10.12, Python 2.7.3 (64-bit) (depends on package libqrencode-dev)

Pre-requisites on all platforms:
--------------------------------
 * you need libqrencode somewhere in your LD path (/usr/local/lib)
 * you need qrencode.h somewhere on your include path (/usr/local/include)
 
 ** if you want to play with the code generation you need Cython (tested with 0.13)
     $ easy_install cython
     $ cython qrencode.pyx


Installation
------------
$ python setup.py install

Something went wrong with that request. Please try again.