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")
More
This Python library uses inky official library. More details about inky and inkyphat libraries here:
- https://pypi.org/project/inky/
- https://github.com/pimoroni/inky-phat
- http://docs.pimoroni.com/inkyphat
License
This library is available under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for inky-toolkit-stezante7-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68d8eea8f868bc6312c2edb0946c1f6d208112603bd53f66a4e6e506e9647d97 |
|
MD5 | a88ba1f057ac7edd16b7cf2f112111d3 |
|
BLAKE2b-256 | af24ecaf9d9e911cec8d11bcf0af661ba8dedbbdd8505bf21b81c2b43b2005b3 |
Close
Hashes for inky_toolkit_stezante7-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e221b5feea0416acb827229039b1c0adf4ef6372d86f9efd057f250cfc76390 |
|
MD5 | e837945d0e2cde627acc4a1b1a3fc8ea |
|
BLAKE2b-256 | 0c1b282ff54c7bdba72c5062abc65b96234c99c6716bcef906c49b27772427be |