{ "info": { "author": "Andrew Cutler", "author_email": "andrew@adlibre.com.au", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: Unix", "Programming Language :: Python", "Topic :: Utilities" ], "description": "# Barcode Printer for Django\n\nThis is a reusable Django application which generates PDF barcodes in various formats with a human and machine (OCR-A) readable textual label.\n\nThese barcodes are rendered as a PDF with embedded JavaScript which prompts the PDF to be immediately printed.\n\nCurrently this is used by [Adlibre DMS](http://www.adlibre.com.au/adlibre-dms/) for document barcode generation, \nbut this application is generic and can be reused in any Django app that requires barcode printing.\n\n[ReportLab](http://www.reportlab.com) is used for the barcode generation. And the following formats are supported:\n\n * Code39 (3 of 9),\n * Code128.\n\nHowever it would be trivial to add support for any format that ReportLab supports.\n\n## Example\n\nBarcode automatically printing from URL:\n\n![Barcode Printer for Django - Automatic Printing](https://github.com/adlibre/django-bcp/raw/master/docs/example.png)\n\n## Installation\n\nIf you use pip then the dependencies and requirements will be taken care of:\n\nProd:\n\n pip install git+git://github.com/adlibre/django-bcp.git\n\nDev:\n\n pip install -e git+git@github.com:adlibre/django-bcp.git#egg=bcp\n\n## N.B. ReportLab Bug\n\nReportLab 2.5/2.6 has a typo. \"OpenActions\" should be \"OpenAction\" as per ISO 32000-1:2008.\n\n
\ndiff -r broken/lib/python2.7/site-packages/reportlab/pdfbase/pdfdoc.py fixed/lib/python2.7/site-packages/reportlab/pdfbase/pdfdoc.py\n1022c1022\n<         Dests Outlines Pages Threads AcroForm Names OpenActions PageMode URI\n---\n>         Dests Outlines Pages Threads AcroForm Names OpenAction PageMode URI\n
\n\nYou will need to manually patch this, otherwise the barcode will not automatically print:\n\n sed -i -e 's@OpenActions@OpenAction@g' lib/python*/site-packages/reportlab/pdfbase/pdfdoc.py", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/adlibre/python-bureaucrat/archive/v0.2.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adlibre/django-bcp", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-bcp", "package_url": "https://pypi.org/project/django-bcp/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-bcp/", "project_urls": { "Download": "https://github.com/adlibre/python-bureaucrat/archive/v0.2.2.tar.gz", "Homepage": "https://github.com/adlibre/django-bcp" }, "release_url": "https://pypi.org/project/django-bcp/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "Barcode Printer for Django", "version": "0.2.2" }, "last_serial": 1179076, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "b2f381b4ef8c43b3273f52ec4680d5cb", "sha256": "efdc2212a8218da7aa341f189d426d2e17427ffab87aaddae6f96f6d3e76bfc2" }, "downloads": -1, "filename": "django-bcp-0.2.2.tar.gz", "has_sig": false, "md5_digest": "b2f381b4ef8c43b3273f52ec4680d5cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19499, "upload_time": "2014-08-04T06:32:52", "url": "https://files.pythonhosted.org/packages/9d/19/d7a9c7742ae02ae78a6315596632a21a38658e95995ad3fc2e710f4c2f93/django-bcp-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b2f381b4ef8c43b3273f52ec4680d5cb", "sha256": "efdc2212a8218da7aa341f189d426d2e17427ffab87aaddae6f96f6d3e76bfc2" }, "downloads": -1, "filename": "django-bcp-0.2.2.tar.gz", "has_sig": false, "md5_digest": "b2f381b4ef8c43b3273f52ec4680d5cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19499, "upload_time": "2014-08-04T06:32:52", "url": "https://files.pythonhosted.org/packages/9d/19/d7a9c7742ae02ae78a6315596632a21a38658e95995ad3fc2e710f4c2f93/django-bcp-0.2.2.tar.gz" } ] }