{ "info": { "author": "Philip Howard", "author_email": "phil@pimoroni.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development", "Topic :: System :: Hardware" ], "description": "Inky\n====\n\n|Build Status| |Coverage Status| |PyPi Package| |Python Versions|\n\nPython library for the `Inky\npHAT `__ and `Inky\nwHAT `__ e-paper displays.\n\nInky pHAT\n---------\n\n`Inky pHAT `__ is a\n212x104 pixel e-paper display, available in red/black/white,\nyellow/black/white and black/white. It's great for nametags and\ndisplaying very low frequency information such as a daily calendar or\nweather overview.\n\nInky wHAT\n---------\n\n`Inky wHAT `__ is a\n400x300 pixel e-paper display available in red/black/white,\nyellow/black/white and black/white. It's got tons of resolution for\ndetailed daily todo lists, multi-day weather forecasts, bus timetables\nand more.\n\nInstallation\n============\n\nThe Python pip package is named inky, install with:\n\n::\n\n sudo pip install inky\n\nUsage\n=====\n\nThe Inky library contains modules for both the pHAT and wHAT, load the\nInkyPHAT one as follows:\n\n.. code:: python\n\n from inky import InkyPHAT\n\nYou'll then need to pick your colour, one of 'red', 'yellow' or 'black'\nand instantiate the class:\n\n.. code:: python\n\n inkyphat = InkyPHAT('red')\n\nIf you're using the wHAT you'll need to load the InkyWHAT class from the\nInky library like so:\n\n.. code:: python\n\n from inky import InkyWHAT\n inkywhat = InkyWHAT('red')\n\nOnce you've initialised Inky, there are only three methods you need to\nbe concerned with:\n\nSet Image\n---------\n\nSet a PIL image, numpy array or list to Inky's internal buffer. The\nimage dimensions should match the dimensions of the pHAT or wHAT you're\nusing.\n\n.. code:: python\n\n inkyphat.set_image(image)\n\nYou should use ``PIL`` to create an image. ``PIL`` provides an\n``ImageDraw`` module which allow you to draw text, lines and shapes over\nyour image. See:\nhttps://pillow.readthedocs.io/en/stable/reference/ImageDraw.html\n\nSet Border\n----------\n\nSet the border colour of you pHAT or wHAT.\n\n.. code:: python\n\n inkyphat.set_border(colour)\n\n``colour`` should be one of ``inky.RED``, ``inky.YELLOW``,\n``inky.WHITE`` or ``inky.BLACK`` with available colours depending on\nyour diplay type.\n\nUpdate The Display\n------------------\n\nOnce you've prepared and set your image, and chosen a border colour, you\ncan update your e-ink display with:\n\n.. code:: python\n\n inkyphat.show()\n\nMigrating\n=========\n\nIf you're migrating code from the ``inkyphat`` library you'll find that\nmuch of the drawing and image manipulation functions have been removed\nfrom Inky. These functions were always supplied by PIL, and the\nrecommended approach is to use PIL to create and prepare your image\nbefore setting it to Inky with ``set_image()``.\n\n.. |Build Status| image:: https://travis-ci.com/pimoroni/inky.svg?branch=master\n :target: https://travis-ci.com/pimoroni/inky\n.. |Coverage Status| image:: https://coveralls.io/repos/github/pimoroni/inky/badge.svg?branch=master\n :target: https://coveralls.io/github/pimoroni/inky?branch=master\n.. |PyPi Package| image:: https://img.shields.io/pypi/v/inky.svg\n :target: https://pypi.python.org/pypi/inky\n.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/inky.svg\n :target: https://pypi.python.org/pypi/inky\n\n0.0.5\n-----\n\n* Enhancement: Added support for red/b/w high-temp Inky wHAT\n\n0.0.4\n-----\n\n* BugFix: Reverted normal red LUTs to correct values\n\n0.0.3\n-----\n\n* Enhancement: Added support for display variant detection\n* Enhancement: Added DocStrings\n* BugFix: Fixed set_border for all colours\n\n0.0.2\n-----\n\n* BugFix: Yellow Inky pHAT now yellow instead of brown/black\n* Enhancement: Performance tweak for set_image\n\n0.0.1\n-----\n\n* Initial Release\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.pimoroni.com", "keywords": "Raspberry Pi e-paper display driver", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "inky", "package_url": "https://pypi.org/project/inky/", "platform": "", "project_url": "https://pypi.org/project/inky/", "project_urls": { "GitHub": "https://www.github.com/pimoroni/inky", "Homepage": "http://www.pimoroni.com" }, "release_url": "https://pypi.org/project/inky/0.0.5/", "requires_dist": [ "RPi.GPIO", "numpy", "smbus2", "spidev" ], "requires_python": "", "summary": "Inky pHAT Driver", "version": "0.0.5" }, "last_serial": 5366723, "releases": { "0.0.4": [ { "comment_text": "", "digests": { "md5": "db5db2b915111dc596ba64c716a3ce5d", "sha256": "ec5695a606e70e0865dfe81109d04786a78b5e571cf2fe48a8a16334b6eb4854" }, "downloads": -1, "filename": "inky-0.0.4-py2-none-any.whl", "has_sig": false, "md5_digest": "db5db2b915111dc596ba64c716a3ce5d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9825, "upload_time": "2019-03-13T13:01:12", "url": "https://files.pythonhosted.org/packages/e2/a5/8e32ed8a66aaa1ba46636a59a2f706e121fa0816b510ec5bdf1b0f94b9d7/inky-0.0.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bc88899f0facb62deade5cc8313227e", "sha256": "299b10461709ec8d881d9eb953d51212f69e21d83b27b7f9e08bae601a5faba1" }, "downloads": -1, "filename": "inky-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "6bc88899f0facb62deade5cc8313227e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8778, "upload_time": "2019-03-13T13:01:13", "url": "https://files.pythonhosted.org/packages/56/84/a5ad4c5a2c548b015ed7480568bcfbbb79f251d6995ff04f6eeabb6ce8d6/inky-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a05b5a1ac1c7fe5b3a9e2db4631d2571", "sha256": "aaa05829d39e378dbec46c0ddae912ac51117802383287fd17efd759cd5fec94" }, "downloads": -1, "filename": "inky-0.0.4.tar.gz", "has_sig": false, "md5_digest": "a05b5a1ac1c7fe5b3a9e2db4631d2571", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8270, "upload_time": "2019-03-13T13:01:14", "url": "https://files.pythonhosted.org/packages/29/08/a82e1240e226386357df0c219f699680035ca6da5ab00b7fa0c20cb8a7fb/inky-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "05da4d6fcd018419b3335b168f922562", "sha256": "d89c97b70eec1017fa51775c18c140f5e3c2218dd9ff78dffe2fe587bc1e98c3" }, "downloads": -1, "filename": "inky-0.0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "05da4d6fcd018419b3335b168f922562", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11767, "upload_time": "2019-06-06T11:36:18", "url": "https://files.pythonhosted.org/packages/88/b9/562fdebbbc0cb6f4781687dd9be31161efb7048b2127c5ec22d847747362/inky-0.0.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1aaa4cf47cf2026d97268eb9cecf4741", "sha256": "047445867b8044b76d72d4ded26ec25fcbbd89b8f190daa05005720391028008" }, "downloads": -1, "filename": "inky-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "1aaa4cf47cf2026d97268eb9cecf4741", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11768, "upload_time": "2019-06-06T11:36:20", "url": "https://files.pythonhosted.org/packages/b8/29/0ce8c4bd259a5ac4e4657686d357ba7c45810adfcf6011ae84ac730bd1ad/inky-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2de1394c46f301dce9370d6323d7eb8f", "sha256": "b28471a626686cbf1adf9be15dd0532d9b22a4d4bc200de0e6725136525bf5d4" }, "downloads": -1, "filename": "inky-0.0.5.tar.gz", "has_sig": false, "md5_digest": "2de1394c46f301dce9370d6323d7eb8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9775, "upload_time": "2019-06-06T11:36:22", "url": "https://files.pythonhosted.org/packages/a0/3e/6f9865d9c498db8475e8ac0bcc8f214e8355656f49ecbced86fbe542171a/inky-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "05da4d6fcd018419b3335b168f922562", "sha256": "d89c97b70eec1017fa51775c18c140f5e3c2218dd9ff78dffe2fe587bc1e98c3" }, "downloads": -1, "filename": "inky-0.0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "05da4d6fcd018419b3335b168f922562", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11767, "upload_time": "2019-06-06T11:36:18", "url": "https://files.pythonhosted.org/packages/88/b9/562fdebbbc0cb6f4781687dd9be31161efb7048b2127c5ec22d847747362/inky-0.0.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1aaa4cf47cf2026d97268eb9cecf4741", "sha256": "047445867b8044b76d72d4ded26ec25fcbbd89b8f190daa05005720391028008" }, "downloads": -1, "filename": "inky-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "1aaa4cf47cf2026d97268eb9cecf4741", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11768, "upload_time": "2019-06-06T11:36:20", "url": "https://files.pythonhosted.org/packages/b8/29/0ce8c4bd259a5ac4e4657686d357ba7c45810adfcf6011ae84ac730bd1ad/inky-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2de1394c46f301dce9370d6323d7eb8f", "sha256": "b28471a626686cbf1adf9be15dd0532d9b22a4d4bc200de0e6725136525bf5d4" }, "downloads": -1, "filename": "inky-0.0.5.tar.gz", "has_sig": false, "md5_digest": "2de1394c46f301dce9370d6323d7eb8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9775, "upload_time": "2019-06-06T11:36:22", "url": "https://files.pythonhosted.org/packages/a0/3e/6f9865d9c498db8475e8ac0bcc8f214e8355656f49ecbced86fbe542171a/inky-0.0.5.tar.gz" } ] }