A small collection of functions for interacting with a fluepdot module.
Project description
python-fluepdot
This is a small collection of functions for interacting with a fluepdot module.
import Fluepdot class and create an instance with link as the first arg
from fluepdot import Fluepdot
fd = Fluepdot("http://module.local")
Functions
| function | args | default values | return type | description |
|---|---|---|---|---|
| init | baseURL: str, width: int, height: int | x=115, y=16 | fluepdot.Fluepdot | Constructor for Fluepdot class |
| post_time | None | indefinitly sets the module to display the current time. | ||
| get_size | tuple[int, int] | returns the size of the connected display | ||
| get_frame | str | returns the current frame stored by the module | ||
| get_pixel | x: int, y: int | x=0, y=0 | bool | returns the state of a single pixel |
| get_fonts | None | prints a list of fonts installed on the module | ||
| get_mode | fluepdot.Mode | returns the mode the module is in | ||
| post_text | text: str, x: int, y: int, font: str | x=0, y=0, font="DejaVuSans12" | requests.Response | posts a text to the module and returns the requests response |
| post_frame | frame: List[List[bool]], center: bool | center=False | requests.Response | posts a frame to the module and returns the requests response |
| set_pixel | x: int, y: int | x=0, y=0 | requests.Response | sets a pixel on the display to active and returns the requests response |
| unset_pixel | x: int, y: int | x=0, y=0 | requests.Response | sets a pixel on thes display to inactive and returns the requests response |
| set_mode | mode: fluepdot.Mode | mode=Mode.FULL | requests.Response | sets the module to FULL or DIFFERENTIAL update mode and returns the requests response |
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
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 python_fluepdot-0.0.8.tar.gz.
File metadata
- Download URL: python_fluepdot-0.0.8.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d82c34aac596dc0a32d1363e7b1484da6514e7daaf75d99a4a6aa4f820cf1562
|
|
| MD5 |
9e69faf5d29b1eb8355a19bf669fd384
|
|
| BLAKE2b-256 |
530153fd3114eb41fb6e8f0665e6aae065588d369c7623e951b965d9ed930bfe
|
Provenance
The following attestation bundles were made for python_fluepdot-0.0.8.tar.gz:
Publisher:
python-publish.yml on KS-HTK/python-fluepdot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
python_fluepdot-0.0.8.tar.gz -
Subject digest:
d82c34aac596dc0a32d1363e7b1484da6514e7daaf75d99a4a6aa4f820cf1562 - Sigstore transparency entry: 1203659049
- Sigstore integration time:
-
Permalink:
KS-HTK/python-fluepdot@9fe6cf3be13573e5533ebe68da5e4345f3ced488 -
Branch / Tag:
refs/tags/v0.0.8 - Owner: https://github.com/KS-HTK
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@9fe6cf3be13573e5533ebe68da5e4345f3ced488 -
Trigger Event:
release
-
Statement type:
File details
Details for the file python_fluepdot-0.0.8-py3-none-any.whl.
File metadata
- Download URL: python_fluepdot-0.0.8-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba418ec7b773a12f7042b125734941ec1318632207d1a97b7744d78d1e2053ba
|
|
| MD5 |
e4042c35e45e7429a69a4cb8eb4265f9
|
|
| BLAKE2b-256 |
a0972ed8f80033adde2722e28cec52bcceb0532cb9d9296a4a2f2189f95725f3
|
Provenance
The following attestation bundles were made for python_fluepdot-0.0.8-py3-none-any.whl:
Publisher:
python-publish.yml on KS-HTK/python-fluepdot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
python_fluepdot-0.0.8-py3-none-any.whl -
Subject digest:
ba418ec7b773a12f7042b125734941ec1318632207d1a97b7744d78d1e2053ba - Sigstore transparency entry: 1203659050
- Sigstore integration time:
-
Permalink:
KS-HTK/python-fluepdot@9fe6cf3be13573e5533ebe68da5e4345f3ced488 -
Branch / Tag:
refs/tags/v0.0.8 - Owner: https://github.com/KS-HTK
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@9fe6cf3be13573e5533ebe68da5e4345f3ced488 -
Trigger Event:
release
-
Statement type: