Skip to main content

A Python3 module to compile LiteBee Client Case files.

Project description

PyBeeClient

A Python module designed to take Python code and compile it into LiteBeeClient-compatible bytecode.

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 working for LBC v1.3.9 - v1.3.11:

All commands (except for Curve) and basic usage have been implemented, this includes:

  • Calibrate
  • Takeoff
  • Land
  • Move3D
  • Around
    • Around(H)
    • Around(D)
  • RGB
  • RGBGradient

Basic usage:

from litebee.commands import *
from litebee.core import Case

show = Case(
    "Python Light Show", 5, 5
)

show.add_drone().add_commands(
    Calibrate(),
    Takeoff().add_rgb((255, 0, 0)),
    Move3D((250, 250, 250), 2.0),
    Land().add_rgb((0, 0, 255))
)

"""
Commands can also be added individually;
drone_show.add_command(Land())
"""

# Leaving the save() function empty will use the Case.name instead.
drone_show.save()

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.7.5.tar.gz (20.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.7.5-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file litebee-0.7.5.tar.gz.

File metadata

  • Download URL: litebee-0.7.5.tar.gz
  • Upload date:
  • Size: 20.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.7.5.tar.gz
Algorithm Hash digest
SHA256 23741dcc34fb795e4fe63aca2f80d6b3f9bc79dda73d4a9d54a8648c2a29d894
MD5 556f19041a7d677b3fba2c488f31796d
BLAKE2b-256 c361d704dd5ad9cc9d0a94b304b63ac03e23820fb52780ffa0b1c87b75748ef7

See more details on using hashes here.

Provenance

The following attestation bundles were made for litebee-0.7.5.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.7.5-py3-none-any.whl.

File metadata

  • Download URL: litebee-0.7.5-py3-none-any.whl
  • Upload date:
  • Size: 18.2 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.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 78660308c10489836f607b0628958af7820b257d647d407c210a65bf428a4294
MD5 ac9547f82f7ae6d1f65a3dd460696cc6
BLAKE2b-256 9b8e2d321da9e1d4e7febe9d90d1627e57a04b5c00bbd589f1b9bf61cfbc875f

See more details on using hashes here.

Provenance

The following attestation bundles were made for litebee-0.7.5-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