A Python library that presents a simple, synchronous interface for communicating with and controlling one or more Pixelblaze LED controllers.
- Python 3.9 or newer
- websocket-client (installable via
pip install websocket-client
, or from https://github.com/websocket-client/websocket-client) - requests (installable via
pip install requests
, or from https://github.com/psf/requests) - pytz (installable via
pip install pytz
, or from https://github.com/stub42/pytz) - py-mini-racer (installable via
pip install py-mini-racer
, or from https://github.com/sqreen/PyMiniRacer)
Install pixelblaze-client with all required packages using pip:
pip install pixelblaze-client
Or, if you prefer, drop a copy of pixelblaze.py into your project directory and reference it within your project:
from pixelblaze import *
API and other documention is available in Markdown and HTML.
Sample code illustrating usage is provided in the examples directory.
Please note that version 1.0.0 was a major refactoring and enhancement of the library, with many new features and significant changes. The API surface is completely new. See the the API documentation for details.
- Update firmware version check for remote pattern compilation
- Added ignoreOpenFailure to Pixelblaze() constructor to allow object creation without immediate connection to Pixelblaze.
- Preview frame image no longer contains unwanted header data
See CHANGELOG.md for complete version history.
- Check our github repo; if you find something, let us know!