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 (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 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]] 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 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.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

python_fluepdot-0.0.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file python-fluepdot-0.0.2.tar.gz.

File metadata

  • Download URL: python-fluepdot-0.0.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for python-fluepdot-0.0.2.tar.gz
Algorithm Hash digest
SHA256 38ad3b2eea822926026e8d67eee572f4096150feb4ddef2f753b0f13c3653173
MD5 1bd8f1dd43c481e9655a5f2860b9290d
BLAKE2b-256 cf512573eeca3b3858e13a32868b969c28de6cb5cc741dc547900ae94b7863ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_fluepdot-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 53b0f874ca2543f1d4e6667d1d49b0f4a5ad0b84fc8920c9de38ff4b65a8f3fb
MD5 a1fbbb31439682ece7aa25fcea4dfefa
BLAKE2b-256 a8a159da8b42a24cc2d878be625ae78f0dd3c104a5de9da6dd38028797ef07ab

See more details on using hashes here.

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