Skip to main content

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

python_fluepdot-0.0.7.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_fluepdot-0.0.7-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file python_fluepdot-0.0.7.tar.gz.

File metadata

  • Download URL: python_fluepdot-0.0.7.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

Hashes for python_fluepdot-0.0.7.tar.gz
Algorithm Hash digest
SHA256 0b1d67e49f2c4c15d0d78a3c78d42830cc7d27e67ec61ab8667c5875a8b4cb9a
MD5 c917cde43fa0a2c9aab3d5a326886adb
BLAKE2b-256 8e90c0856e2f4e691cd3025cadf9ddc3c332f4fa1bdb7e4e976aa0f1a44e7a83

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_fluepdot-0.0.7.tar.gz:

Publisher: python-publish.yml on KS-HTK/python-fluepdot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_fluepdot-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for python_fluepdot-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8fe92afc6d97e9d185292d0f48e3dec20f6565bca85d841f924dee75d797e193
MD5 e856d2e25b87eb071c4e91536ccf5c9e
BLAKE2b-256 a720c877bb7e0e460be495845c3c27f085f19af9ea455d5135150e991884fa8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_fluepdot-0.0.7-py3-none-any.whl:

Publisher: python-publish.yml on KS-HTK/python-fluepdot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page