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) - mini-racer (installable via
pip install mini-racer
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.
- gh issue #28: Fixed a bug in the lightweight enumerator that caused it to fail to enumerate devices when called multiple times. The enumerator now resets its internal list of seen devices each time it is called.
- No new functionality in this release.
See CHANGELOG.md for complete version history.
- Check our github repo; if you find something, let us know!