lyte
Small, dependency-free Python client for Twinkly lights born from personal frustration.
I was the principle developer on the classic Bibliopixel package but the copyright holder decided to call it in, and so I left the project but I want to preserve my animations for the lights I have.
But the only library for the Twinkly protocol uses all sorts of heavy dependencies, in particular zeromq, which means only one client per network, which is silly.
This package uses the reverse engineering work of the xled package but in a new a stripped build.
This is a proof of concept with:
- UDP discovery on port 5555
- HTTP authentication and JSON API calls on port 80
- generation 2 realtime UDP frames on port 7777
Run the diagnostic script from a checkout:
python3 scripts/lyte_diagnostic.py
If UDP discovery is blocked by the network, pass the light controller IP:
python3 scripts/lyte_diagnostic.py --host 192.168.1.50
Run the Hamiltonian streamer:
python3 scripts/lyte_hamiltonian.py --host 192.168.1.50 --speed 80
Increase playback speed:
python3 scripts/lyte_hamiltonian.py --host 192.168.1.50 --speed 80
Metadata
Release files for lyte 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lyte-0.1.2.tar.gz | 19.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lyte-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.5 kB
Release files / lyte-0.1.2.tar.gz
| Download URL | lyte-0.1.2.tar.gz |
|---|---|
| Size | 19.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffe06583beefc5d7b0842b8ead5ee0abcb2d22f2aa719940d799293bfe920add
|
|
BLAKE2b-256 checksum How to use checksums |
2168b4e205951114b512d2f191d5127a9d41887ed891611c3959cbf17652aa28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / lyte-0.1.2-py3-none-any.whl
| Download URL | lyte-0.1.2-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
662ad29c1a5c025cc5851b57ebfadec0ac4ba79f42f237828bc31d96612bc643
|
|
BLAKE2b-256 checksum How to use checksums |
093f3501cfc2d7d633762465488cb642a9bf68627633b0a50771b888a56bf356
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|