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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file inky-toolkit-stezante7-0.1.0.tar.gz.
File metadata
- Download URL: inky-toolkit-stezante7-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68d8eea8f868bc6312c2edb0946c1f6d208112603bd53f66a4e6e506e9647d97
|
|
| MD5 |
a88ba1f057ac7edd16b7cf2f112111d3
|
|
| BLAKE2b-256 |
af24ecaf9d9e911cec8d11bcf0af661ba8dedbbdd8505bf21b81c2b43b2005b3
|
File details
Details for the file inky_toolkit_stezante7-0.1.0-py3-none-any.whl.
File metadata
- Download URL: inky_toolkit_stezante7-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e221b5feea0416acb827229039b1c0adf4ef6372d86f9efd057f250cfc76390
|
|
| MD5 |
e837945d0e2cde627acc4a1b1a3fc8ea
|
|
| BLAKE2b-256 |
0c1b282ff54c7bdba72c5062abc65b96234c99c6716bcef906c49b27772427be
|