Skip to main content

Luxafor flag controll library/tool.

Project description

Python Luxafor

pyluxa4 is a Python library for controller 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: http://facelessuser.github.io/pyluxa4/

License

MIT License

Copyright (c) 2019 Isaac Muse

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyluxa4, version 1.6
Filename, size File type Python version Upload date Hashes
Filename, size pyluxa4-1.6.tar.gz (38.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page