Skip to main content

Inky pHAT Driver

Project description

Inky

Build Status Coverage Status PyPi Package Python Versions

Python library for the Inky pHAT and Inky wHAT e-paper displays.

Inky pHAT

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 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:

from inky import InkyPHAT

You’ll then need to pick your colour, one of ‘red’, ‘yellow’ or ‘black’ and instantiate the class:

inkyphat = InkyPHAT('red')

If you’re using the wHAT you’ll need to load the InkyWHAT class from the Inky library like so:

from inky import InkyWHAT
inkywhat = InkyWHAT('red')

Since Inky wHAT is currently only available in red, we pick that colour.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

einky-0.0.4.tar.gz (8.3 kB view details)

Uploaded Source

Built Distributions

einky-0.0.4-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

einky-0.0.4-py2-none-any.whl (9.8 kB view details)

Uploaded Python 2

File details

Details for the file einky-0.0.4.tar.gz.

File metadata

  • Download URL: einky-0.0.4.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13

File hashes

Hashes for einky-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b408fbcfe301c9198734b6269f065894f81ea8043b6e58425a3ecac5f4b950f2
MD5 5d8cd90aad08fb6d764bf6a0f5499f5f
BLAKE2b-256 9808a84ccdb69ce2a8861a3096782b1d8def26cccc09b02370580c7a1a40f2c0

See more details on using hashes here.

File details

Details for the file einky-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: einky-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13

File hashes

Hashes for einky-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ba23247fec47504affa5dff7f53c5fafbc10c739875e98f51309624361555d86
MD5 60cd565cf0161a6f921ccf3816c6d1d9
BLAKE2b-256 dbda04bce2169aee830788b3de01a9a97f3391c424e0d96842becc846d338e8b

See more details on using hashes here.

File details

Details for the file einky-0.0.4-py2-none-any.whl.

File metadata

  • Download URL: einky-0.0.4-py2-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13

File hashes

Hashes for einky-0.0.4-py2-none-any.whl
Algorithm Hash digest
SHA256 c256daed84951e112ebae3930f442a9a35bb85d2fe3853ea1a6b94a18af7e505
MD5 59692dbde2e7ff54754e1a1e3675f07a
BLAKE2b-256 ecb1925974996c970848b6f28410f04be55404e404f88227c9072816489aeaa1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page