einky-0.0.4
توضیحات
Inky pHAT Driver
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | einky-0.0.4 |
| نام | einky |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Philip Howard |
| ایمیل نویسنده | phil@pimoroni.com |
| آدرس صفحه اصلی | http://www.pimoroni.com |
| آدرس اینترنتی | https://pypi.org/project/einky/ |
| مجوز | MIT |
Inky
====
|Build Status| |Coverage Status| |PyPi Package| |Python Versions|
Python library for the `Inky
pHAT <https://shop.pimoroni.com/products/inky-phat>`__ and `Inky
wHAT <https://shop.pimoroni.com/products/inky-what>`__ e-paper displays.
Inky pHAT
---------
`Inky pHAT <https://shop.pimoroni.com/products/inky-phat>`__ is a
212x104 pixel e-paper display, available in red/black/white,
yellow/black/white and black/white. It's great for nametags and
displaying very low frequency information such as a daily calendar or
weather overview.
Inky wHAT
---------
`Inky wHAT <https://shop.pimoroni.com/products/inky-what>`__ is a
400x300 pixel e-paper display available in red/black/white. It's got
tons of resolution for detailed daily todo lists, multi-day weather
forecasts, bus timetables and more.
Installation
============
The Python pip package is named einky, install with:
::
sudo pip install einky
Usage
=====
The Inky library contains modules for both the pHAT and wHAT, load the
InkyPHAT one as follows:
.. code:: python
from inky import InkyPHAT
You'll then need to pick your colour, one of 'red', 'yellow' or 'black'
and instantiate the class:
.. code:: python
inkyphat = InkyPHAT('red')
If you're using the wHAT you'll need to load the InkyWHAT class from the
Inky library like so:
.. code:: python
from inky import InkyWHAT
inkywhat = InkyWHAT('red')
Since Inky wHAT is currently only available in red, we pick that colour.
.. |Build Status| image:: https://travis-ci.com/pimoroni/inky.svg?branch=master
:target: https://travis-ci.com/pimoroni/inky
.. |Coverage Status| image:: https://coveralls.io/repos/github/pimoroni/inky/badge.svg?branch=master
:target: https://coveralls.io/github/pimoroni/inky?branch=master
.. |PyPi Package| image:: https://img.shields.io/pypi/v/einky.svg
:target: https://pypi.python.org/pypi/einky
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/einky.svg
:target: https://pypi.python.org/pypi/einky
0.0.4
-----
* BugFix: Reverted normal red LUTs to correct values
0.0.3
-----
* Enhancement: Added support for display variant detection
* Enhancement: Added DocStrings
* BugFix: Fixed set_border for all colours
0.0.2
-----
* BugFix: Yellow Inky pHAT now yellow instead of brown/black
* Enhancement: Performance tweak for set_image
0.0.1
-----
* Initial Release
نیازمندی
| مقدار | نام |
|---|---|
| - | RPi.GPIO |
| - | numpy |
| - | spidev |
نحوه نصب
نصب پکیج whl einky-0.0.4:
pip install einky-0.0.4.whl
نصب پکیج tar.gz einky-0.0.4:
pip install einky-0.0.4.tar.gz