Skip to main content

Luxafor flag control library/tool.

Project description

Python Luxafor

warning This library has only been tested on the Luxafor Flag. It may or may not work on other devices.

pyluxa4 is a Python library for controlling Luxafor devices. You can set colors, blink them, fade them, apply a wave effect, and even run its built-in patterns. All of this is done by running a small server that is accessed locally on port 5000 (the port can be changed). Once running, you can issue commands from the CLI tool, which in turns communicates with the server using a REST API.

Since the server uses a REST API, you could easily write scripts in other languages to control the device once running.

If desired, you can import the pyluxa4.usb library in a script and control the device directly without running a server. Or you could import pyluxa4.client and write your own application that uses the REST API to control the device through the server.

pyluxa4 requires libusb/hidapi to be installed in order for the controller portion of the library to be functional.

Documentation

Documentation is found here: https://facelessuser.github.io/pyluxa4/

License

MIT License

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

pyluxa4-1.7.tar.gz (39.2 kB view details)

Uploaded Source

Built Distribution

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

pyluxa4-1.7-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file pyluxa4-1.7.tar.gz.

File metadata

  • Download URL: pyluxa4-1.7.tar.gz
  • Upload date:
  • Size: 39.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pyluxa4-1.7.tar.gz
Algorithm Hash digest
SHA256 f7c3895c9966d6072e0a244f7e1ce20a01c46814f47cdb86fc29ce4e2537dcb2
MD5 678893ba226ec5a1fd7ec5436611c9bc
BLAKE2b-256 2460e3fb34e16a059c909cbc7cb19f1dabee6149c12e9027e5acff21ab678e0b

See more details on using hashes here.

File details

Details for the file pyluxa4-1.7-py3-none-any.whl.

File metadata

  • Download URL: pyluxa4-1.7-py3-none-any.whl
  • Upload date:
  • Size: 23.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pyluxa4-1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 bb7dfb31f8b728c4195927347f4bda2bddeeaa03d7dc668c8219dc594573c73b
MD5 f38ca770c9bc3f90daf7f48adc223aa1
BLAKE2b-256 359ea6778d7a6ac20438171a8cf9da1dc997afcd0571d9ed3a64a159d437cb35

See more details on using hashes here.

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