A Python library that presents a simple, synchronous interface for communicating with and controlling one or more Pixelblaze LED controllers.
- Python 3.9-3.10
- 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.
New utility functions added for ledmaps
- New method setMapCoordinates()
- Refactored createMapData out of setMapFunction
- Call setMapData from setMapFunction and setMapCoordinates
See CHANGELOG.md for complete version history.
- None at the moment; if you find something, let us know!