Skip to main content

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.config there 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

litebee-0.8.4rc2.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

litebee-0.8.4rc2-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

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

Hashes for litebee-0.8.4rc2.tar.gz
Algorithm Hash digest
SHA256 1edf0c99c225f115549a194d6e43f929e46f610183e83086e864dfd3bb082a28
MD5 b5cdc7050631498acc45c573a0d9ffae
BLAKE2b-256 cf774666fecff569aca1b8c41aa2b02328556912e63a67294b7f53989ba331aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for litebee-0.8.4rc2.tar.gz:

Publisher: python-publish.yml on K-R-Lucas/PyBeeClient

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for litebee-0.8.4rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b780ca0cf907712bd1dc8ff4191e81e5492cdb85a549d97ffb2673751ac48e7
MD5 afe6e2ecada38cb667d57586babb97db
BLAKE2b-256 aa6865202dfdc999cff1adbadc099ff7e65068330bfd46acb479fb6548bbc359

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page