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


Download files

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

Source Distribution

inky-toolkit-stezante7-0.1.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

inky_toolkit_stezante7-0.1.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

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