Skip to main content

Inky Toolkit

Project description

Inky Toolkit

Inky Toolkit is a set of utilities for Inky pHAT display that I created to use on a few of my RasberryPi projects.

How to use it

To install it run:

pip install inky-toolkit-stezante7

InkyText

write_text: display a text message, automatically taking care of number of words/rows to display. If there is not enough space for the text to be displayed, a postfix symbol (by default "...") will show in the bottom right of the screen.

Example

from inky_toolkit import inkytext

inkyT = inkytext.InkyText(color="red", font_type=FredokaOne, font_size=20, more_text_postfix="...")

inkyT.write_text("One love, one blood, one life, you got to do what you should. One life with each other: sisters, brothers. One life, but we're not the same. We get to carry each other, carry each other")

IMG_20190923_204610

More

This Python library uses inky official library. More details about inky and inkyphat libraries here:

License

This library is available under the MIT license.

Project details


Release history Release notifications

Download files

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

Files for inky-toolkit-stezante7, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size inky_toolkit_stezante7-0.1.0-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size inky-toolkit-stezante7-0.1.0.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page