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
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.
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")
This Python library uses inky official library. More details about inky and inkyphat libraries here:
This library is available under the MIT license.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for inky-toolkit-stezante7-0.1.0.tar.gz
Hashes for inky_toolkit_stezante7-0.1.0-py3-none-any.whl