https://github.com/benoitc/qrkit
simple and stupid qr code binding extracted from qrurl
https://github.com/benoitc/qrkit
Last synced: 11 months ago
JSON representation
simple and stupid qr code binding extracted from qrurl
- Host: GitHub
- URL: https://github.com/benoitc/qrkit
- Owner: benoitc
- Created: 2011-08-24T16:01:01.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2018-07-05T08:38:02.000Z (over 7 years ago)
- Last Synced: 2025-04-09T10:07:22.471Z (11 months ago)
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
qrkit
-----
Simple binding of qrencode library released under the public domain
extracted from qurl.
Requirements
++++++++++++
To build the binding you will need to install:
- `libqrencode-dev `_
- `Cython `_
To use it you will need either:
- `Python Imaging Library `_
- `Pillow `_
Installation
++++++++++++
Do one of this command to install it from pypi
::
pip install qrkit
or::
easy_install qrkit
From code::
$ python setup.py install
Simple usage
++++++++++++
::
from qrkit.qrimg import encode_to_img
img = encode_to_img('http://www.python.org/', width=300, border=10)
img.save('qrimage.png', 'PNG', quality=80)