{ "info": { "author": "Gregory Schlomoff", "author_email": "greg@aerofs.com", "bugtrack_url": null, "classifiers": [], "description": "fastqrcode\n==========\n\nFast and robust Python bindings for libqrencode\n(http://fukuchi.org/works/qrencode/index.en.html) using Cython\n\nThere are already several Python bindings for libqrencode (qrencode, pyqrencode\nand qrkit to name a few), but as of this writing (October 2013) they all suffer\nfrom one or more of the following issues:\n\n - Memory leaks (not freeing or improperly freeing the QRCode object returned\n by libqrencode\n - Crashing instead of throwing Python exceptions in case of problems\n - Inability to deal with binary data containing null characters\n\nfastqrcode was written to solve those issues.\n\nUsage\n-----\n\n import fastqrcode as qrcode\n\n # Basic usage:\n image = qrcode.encode(\"Hello World\")\n image.save('qrcode.png')\n\n # More options\n image = qrcode.encode(\"Hello World\",\n module_size=3, # Use 3x3 pixels for each 'dot' in the QR-code\n version=20, # Make at least a version 20 QR-code\n ec_level=qrcode.ERROR_CORRECT_H, # High correction level\n border=5) # Keep a 5 'dots' (ie: 15 pixels) border around the code\n\n\nLimitations\n-----------\n\nCurrently, fastqrcode always encode in binary mode, which is less efficient if\nyou are encoding only alphanumeric\ncharacters.\n\n\nInstallation\n------------\n\nPlease make sure you have the following dependencies:\n\n - libqrencode (OSX: `brew install libqrencode` Ubuntu: `sudo apt-get install libqrencode-dev`)\n - Pillow (`pip install pillow`)\n\nYou should have libqrencode in your LD path (/usr/local/lib) and qrencode.h in\nyour include path (/usr/local/include)\n\nThen, install using pip:\n\n $ pip install fastqrcode\n\nAlternatively, you can download the source code and install manually:\n\n $ python setup.py install\n\n\nDevelopment\n-----------\n\nIf you'd like to make changes to fastqrcode.pyx, you will need to install Cython\nin order to compile the pyx file to c:\n\n $ pip install cython\n $ cython fastqrcode.pyx\n $ python setup.py install\n\nIf you're submitting a pull request, please make sure that your commit has the\nchanges for both fastqrcode.pyx and fastqrcode.c", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aerofs/fastqrcode", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "fastqrcode", "package_url": "https://pypi.org/project/fastqrcode/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/fastqrcode/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/aerofs/fastqrcode" }, "release_url": "https://pypi.org/project/fastqrcode/1.0/", "requires_dist": null, "requires_python": null, "summary": "Fast and robust bindings for libqrencode", "version": "1.0" }, "last_serial": 898033, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "88eb776d7da3bf7502735982fd648647", "sha256": "f42bd11d4bfbaffcd02719334c6632b8dea3c06ffcf2e60da80dd3db9c547267" }, "downloads": -1, "filename": "fastqrcode-1.0.tar.gz", "has_sig": false, "md5_digest": "88eb776d7da3bf7502735982fd648647", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21836, "upload_time": "2013-10-18T23:25:08", "url": "https://files.pythonhosted.org/packages/10/6e/735fdc64325573d727adfb4bdd5b958c8376d8697765c2a047673ce1e517/fastqrcode-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "88eb776d7da3bf7502735982fd648647", "sha256": "f42bd11d4bfbaffcd02719334c6632b8dea3c06ffcf2e60da80dd3db9c547267" }, "downloads": -1, "filename": "fastqrcode-1.0.tar.gz", "has_sig": false, "md5_digest": "88eb776d7da3bf7502735982fd648647", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21836, "upload_time": "2013-10-18T23:25:08", "url": "https://files.pythonhosted.org/packages/10/6e/735fdc64325573d727adfb4bdd5b958c8376d8697765c2a047673ce1e517/fastqrcode-1.0.tar.gz" } ] }