{ "info": { "author": "Marc Brinkmann", "author_email": "git@marcbrinkmann.de", "bugtrack_url": null, "classifiers": [], "description": "afthermal\n=========\n\n.. note:: afthermal is currently in alpha status. This is a snapshot release of\n the development branch. While it is used productively, some features\n may be unfinished or undocumented.\n\n``afthermal`` is a driver/library for the popular `Adafruit\n`_ (originally Cashino\nA2) thermal printer [1]_.\n\nPartially, it is inspired by previous efforts:\n\n* https://github.com/adafruit/Adafruit-Thermal-Printer-Library\n* https://github.com/adafruit/Python-Thermal-Printer/\n* https://github.com/luopio/py-thermal-printer/\n\n``afthermal`` try to be more pythonic and efficient than previous efforts,\nwhich have mostly been 1:1 ports from other languages.\nAdditionally it is not focused on education but rather on being a\nreliable library for handling this kind of hardware.\n\nFeatures include:\n\n* Comfortable handling of text formatting\n* Adapters to print images from PIL_ / Pillow_ as well as OpenCV_\n* A fast Floyd-Steinberg_ implementation to dither OpenCV_ images.\n* Command-line utilities for calibrating the printer for optimum speed and\n quality, as well as other capabilities\n* Support for printing QR codes via PyQRCode_ without having to render them\n into images first\n\n.. [1] Specification is available at http://www.adafruit.com/datasheets/CSN-A2%20User%20Manual.pdf\n\n.. _PyQRCode: https://pypi.python.org/pypi/PyQRCode\n.. _OpenCV: https://opencv-python-tutroals.readthedocs.org\n.. _Pillow: http://pillow.readthedocs.org\n.. _PIL: http://www.pythonware.com/products/pil/\n.. _Floyd-Steinberg: https://en.wikipedia.org/wiki/Floyd%E2%80%93Steinberg_dithering\n\n\nInstallation\n------------\n\n``afthermal`` is installable from ``pip``. It supports an extra feature named\n``tools``, installing it will include cli tools for calibrating the\nprinter, printing test images or other tasks:\n\n.. code-block:: sh\n\n $ pip install 'afthermal[tools]'\n\nIt includes a C extension for Floyd-Steinberg_ dithering, since OpenCV_ does\nnot ship with a dithering function. For this reason C-modules must be\ncompileable when installing ``afthermal``.\n\n\nFull docs\n---------\n\nThe complete documentation is housed at http://pythonhosted.org/afthermal.", "description_content_type": null, "docs_url": "https://pythonhosted.org/afthermal/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/mbr/afthermal", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "afthermal", "package_url": "https://pypi.org/project/afthermal/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/afthermal/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/mbr/afthermal" }, "release_url": "https://pypi.org/project/afthermal/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "0.3.1" }, "last_serial": 1721530, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "ead67b26e603d38a502f23a885e221b7", "sha256": "d427cfa1a5de262f2f948074c9d442aff69669660382a5a10e728dcef41d3868" }, "downloads": -1, "filename": "afthermal-0.3.1.tar.gz", "has_sig": true, "md5_digest": "ead67b26e603d38a502f23a885e221b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44247, "upload_time": "2015-09-14T09:13:40", "url": "https://files.pythonhosted.org/packages/33/f1/e28ee26c97ac998a526b1dbac2017c5dd80c4dbf2b350c5f4d02a5ab94f9/afthermal-0.3.1.tar.gz" } ], "0.3.2.dev1": [] }, "urls": [ { "comment_text": "", "digests": { "md5": "ead67b26e603d38a502f23a885e221b7", "sha256": "d427cfa1a5de262f2f948074c9d442aff69669660382a5a10e728dcef41d3868" }, "downloads": -1, "filename": "afthermal-0.3.1.tar.gz", "has_sig": true, "md5_digest": "ead67b26e603d38a502f23a885e221b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44247, "upload_time": "2015-09-14T09:13:40", "url": "https://files.pythonhosted.org/packages/33/f1/e28ee26c97ac998a526b1dbac2017c5dd80c4dbf2b350c5f4d02a5ab94f9/afthermal-0.3.1.tar.gz" } ] }