{ "info": { "author": "Ari Koivula", "author_email": "ari@koivu.la", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Multimedia :: Graphics", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "PubCode\n=======\nPubCode is a library that encodes barcodes and allows easy access to the data\nrequired to render the barcode. It can optionally use PIL to render the\nbarcode or to provide a data URL containing a single pixel high PNG barcode\nwhich can be resized by a browser to a more usefull size.\n\n.. image:: https://travis-ci.org/Venti-/pubcode.svg?branch=master\n :target: https://travis-ci.org/Venti-/pubcode\n\n\nSupported barcodes\n------------------\n - Code128\n\n\nUsage\n-------\n\n >>> from pubcode import Code128\n >>> barcode = Code128('Hello!', charset='B')\n\nYou can access the data required to render the barcode easily and intuitively.\n\n >>> barcode.bars\n '2112142311131122142211142211141341112221221212412331112'\n >>> barcode.modules # doctest: +ELLIPSIS\n [0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, ...]\n\nYou can generate PIL.Image objects from barcodes.\n\n >>> barcode.image() # doctest: +ELLIPSIS\n \n >>> barcode.image(height=10, module_width=2) # doctest: +ELLIPSIS\n \n\nYou can also generate data URLs.\n\n >>> barcode.data_url() # doctest: +ELLIPSIS\n 'data:image/png;base64,...'\n\nYou can also control the exact way in which the barcode is encoded, which\nallows you to control the size of the resulting barcode.\n\n >>> barcode = Code128('12\\x00x\\x01', charset='CABA')\n >>> barcode.symbols\n ['[Start Code C]', '12', '[Code A]', '\\x00', '[Shift B]', 'x', '\\x01', '\\x15', '[Stop]']", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Venti-/pubcode", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "PubCode", "package_url": "https://pypi.org/project/PubCode/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/PubCode/", "project_urls": { "Homepage": "https://github.com/Venti-/pubcode" }, "release_url": "https://pypi.org/project/PubCode/1.1.0/", "requires_dist": [ "future" ], "requires_python": null, "summary": "A simple module for creating barcodes.", "version": "1.1.0" }, "last_serial": 1678550, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "7b2ca956ec5d1dada217c2cc1c614fc5", "sha256": "e557eec2e04196d6171a7e4e20f0841d547bd3098e655d272d8c7d1cc9566e3f" }, "downloads": -1, "filename": "PubCode-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7b2ca956ec5d1dada217c2cc1c614fc5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8047, "upload_time": "2015-08-10T22:23:43", "url": "https://files.pythonhosted.org/packages/ee/dd/51095a0b3bd78a3b4f93ef3b999ce8d3420f189c52dc878317e602ae4aea/PubCode-1.0.0-py2.py3-none-any.whl" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "c488f9728a467300ee70733fd120a42f", "sha256": "a17560257097d5dc287e39c54c05bfb27e89287b11a9181bc6bbeabc0a0e72cd" }, "downloads": -1, "filename": "PubCode-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c488f9728a467300ee70733fd120a42f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8299, "upload_time": "2015-08-15T08:42:29", "url": "https://files.pythonhosted.org/packages/a7/be/c832140d7d224fa20dcc66d17e9f365ff91818c8b54bb117d77b0f73be68/PubCode-1.1.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c488f9728a467300ee70733fd120a42f", "sha256": "a17560257097d5dc287e39c54c05bfb27e89287b11a9181bc6bbeabc0a0e72cd" }, "downloads": -1, "filename": "PubCode-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c488f9728a467300ee70733fd120a42f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8299, "upload_time": "2015-08-15T08:42:29", "url": "https://files.pythonhosted.org/packages/a7/be/c832140d7d224fa20dcc66d17e9f365ff91818c8b54bb117d77b0f73be68/PubCode-1.1.0-py2.py3-none-any.whl" } ] }