Library for Pixelblaze addressable LED controller.
Project description
pixelblaze-client
A Python library that presents a simple, synchronous interface for communicating with and controlling one or more Pixelblaze LED controllers.
Requirements
- 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
Installation
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 *
Documentation
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.
Current Version [v1.1.7] - 2025-12-3
Fixed
- Added retry for
WebSocketBadStatusException - Fix
savePattern()functionality and API (add missing PBP feature) - Various utf-8 / encoding bugs
- PBP putFile path
- Add an integration-ish test!
Added
- Created handy
pbcli - Implement
waitForAnyResponse(non-chatty) for WS send - Cache mini-racer compile eval for speed
- Add and use
PBP.fromComponents()
Older Versions
See CHANGELOG.md for complete version history.
Known Issues
- Check our github repo; if you find something, let us know!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pixelblaze_client-1.1.7.tar.gz.
File metadata
- Download URL: pixelblaze_client-1.1.7.tar.gz
- Upload date:
- Size: 51.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8071d12a271e21d2b176247396be018837f9fa0e3835fdf47dad675f59119c55
|
|
| MD5 |
e5852733e4aa772d750b8742d3b22e9c
|
|
| BLAKE2b-256 |
064ffaec471d3c7a1f140b832f289950d0dce5ee0827507afbcff815b9131e75
|
File details
Details for the file pixelblaze_client-1.1.7-py3-none-any.whl.
File metadata
- Download URL: pixelblaze_client-1.1.7-py3-none-any.whl
- Upload date:
- Size: 40.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58bfce6012282bb135c7ff748661f8ef3f4aa91558ba41e25d8c45713b0f90cc
|
|
| MD5 |
4a0a0cc67c2fb8bd2d69c0b07d9e0c21
|
|
| BLAKE2b-256 |
093f79339e5de94b9b504b347cf2f58c81904fc718a4acba90033de9b7c522de
|