A Python3 module to compile LiteBee Client Case files.
Project description
PyBeeClient
A Python library designed to replace the need to use LiteBee Client's built-in editor.
This project is not designed to be a full replacement to LiteBeeClient, nor is it intended to have implementations for every single feature of LiteBeeClient. The following components are currently tested on version 1.3.9: All commands (except for Curve4) and basic usage have been implemented, this includes:
- Calibrate
- Takeoff
- Land
- Move3D
- Around
- Around(H)
- Around(D)
- RGB
- RGBGradient
- Curve3
Examples can be found in the src/ directory.
Advanced Features
-
Light shows can be simulated within Python, LiteBee is not required at all. I have also implemented an experimental collision avoidance alogirthm (
litebee.core.Case.fix_collisions()). This will take a completed show, simulate it in discrete steps, then attempt to resolve collisions. -
Dot-art images can be used to generate frames in a light show. The image requires a transparent background. The code will detect clumps of non-transparent pixels, average the colours, then return all the positions in a dictionary where keys are positions and values are the averaged colours.
-
Though not implemented in the library, I have dabbled and had success with reading vertices from an OBJ file and loading them in as drone positions.
-
LiteBee only validates fields on user input, not when values are loaded directly from a file, meaning you can go beyond certain limits. I've tested the following:
- Excessive grid sizes.
- Large drone counts (3600+).
- Drones without commands (either no commands at all or not implementing takeoffs, land or calibrate).
- You can also actually start a show with no takeoff/movement commands. The drones will not start their motors. This is good for testing lights.
-
Under
litebee.configthere are tools to read/write LiteBee Client's GameFrameworkSetting file which, most notably, contains the DroneRecord list. This list maps the drones' DroneIDs to indexes and is used to order drones in the control module.
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 litebee-0.8.4rc2.tar.gz.
File metadata
- Download URL: litebee-0.8.4rc2.tar.gz
- Upload date:
- Size: 25.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1edf0c99c225f115549a194d6e43f929e46f610183e83086e864dfd3bb082a28
|
|
| MD5 |
b5cdc7050631498acc45c573a0d9ffae
|
|
| BLAKE2b-256 |
cf774666fecff569aca1b8c41aa2b02328556912e63a67294b7f53989ba331aa
|
Provenance
The following attestation bundles were made for litebee-0.8.4rc2.tar.gz:
Publisher:
python-publish.yml on K-R-Lucas/PyBeeClient
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
litebee-0.8.4rc2.tar.gz -
Subject digest:
1edf0c99c225f115549a194d6e43f929e46f610183e83086e864dfd3bb082a28 - Sigstore transparency entry: 1184493441
- Sigstore integration time:
-
Permalink:
K-R-Lucas/PyBeeClient@2d202e3859d2b82a7712bc69f5b8322ae1090d31 -
Branch / Tag:
refs/tags/0.8.4rc2 - Owner: https://github.com/K-R-Lucas
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2d202e3859d2b82a7712bc69f5b8322ae1090d31 -
Trigger Event:
release
-
Statement type:
File details
Details for the file litebee-0.8.4rc2-py3-none-any.whl.
File metadata
- Download URL: litebee-0.8.4rc2-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b780ca0cf907712bd1dc8ff4191e81e5492cdb85a549d97ffb2673751ac48e7
|
|
| MD5 |
afe6e2ecada38cb667d57586babb97db
|
|
| BLAKE2b-256 |
aa6865202dfdc999cff1adbadc099ff7e65068330bfd46acb479fb6548bbc359
|
Provenance
The following attestation bundles were made for litebee-0.8.4rc2-py3-none-any.whl:
Publisher:
python-publish.yml on K-R-Lucas/PyBeeClient
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
litebee-0.8.4rc2-py3-none-any.whl -
Subject digest:
1b780ca0cf907712bd1dc8ff4191e81e5492cdb85a549d97ffb2673751ac48e7 - Sigstore transparency entry: 1184493646
- Sigstore integration time:
-
Permalink:
K-R-Lucas/PyBeeClient@2d202e3859d2b82a7712bc69f5b8322ae1090d31 -
Branch / Tag:
refs/tags/0.8.4rc2 - Owner: https://github.com/K-R-Lucas
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2d202e3859d2b82a7712bc69f5b8322ae1090d31 -
Trigger Event:
release
-
Statement type: