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.

Source Distribution

pyluxa4-1.5.tar.gz (34.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pyluxa4-1.5.tar.gz
  • Upload date:
  • Size: 34.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.1

File hashes

Hashes for pyluxa4-1.5.tar.gz
Algorithm Hash digest
SHA256 3b799141ddc3cabb4ec0d9a91bb91595dcc273d5a523e0c6f840df87a5aad547
MD5 06705428fb5fe9b7bf631bf7a0f9d1c2
BLAKE2b-256 725d8eff0f9d2e0f4ca8717283f52b82bbda94b5c7e8a8cce2d0bdee4bd504b0

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