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-3.10
- websocket-client (installable via pip, or from https://github.com/websocket-client/websocket-client)
- requests (installable via pip, or from https://github.com/psf/requests)
Installation
Install with 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 here.
Sample code illustrating usage is provided in the examples directory.
Version history
Current Version [v1.0.0] - 2022-10-01
This is a major refactoring and enhancement of the pixelblaze-client library with many significant changes. The API surface is completely new, but compatibility stubs have been provided for most existing methods to assist in transitioning to the new API.
Added
- new PBB class for reading, writing and manipulating Pixelblaze Binary Backups for backup/restore of Pixelblaze configurations and patterns.
- new PBP class for reading, writing and manipulating Pixelblaze Binary Patterns as stored within Pixelblaze Binary Backups.
- new EPE class for reading, writing and manipulating Encapsulated Pattern Expressions as imported/exported from the Pixelblaze pattern editor.
- new methods to provide access to all of the features exposed by the Pixelblaze webUI. See the API documentation for more details.
- new example programs to demonstrate the new API.
Changed
- Many existing methods renamed to give common names to related functions. See the API documentation for more details.
Deprecated
- Some existing methods deprecated. Compatibility stubs have been provided to maintain functionality; warning messages are emitted to encourage movement to the new API.
Removed
- Some internal methods (names beginning with "_") were removed where no longer required.
Previous Versions
See changelog.md for details on previous versions.
Known Issues
- None at the moment; 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
Hashes for pixelblaze_client-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23e0b265a9f6f2bef9cce2156b66809dc7aeac12060a24f44028eeef367268db |
|
MD5 | 02600ac62206b29ac22608797e075b53 |
|
BLAKE2b-256 | 4230b0b83d329081345654847d62d95ab8ab03d4daeb0c8b92cdcb8a1e8efcac |