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.8.2.tar.gz (21.2 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.2-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: litebee-0.8.2.tar.gz
  • Upload date:
  • Size: 21.2 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.2.tar.gz
Algorithm Hash digest
SHA256 2fb2c1b044ae86c98554be1fb0e70351a3f06dbd94b8317b7459d54731f9e3f2
MD5 c224bb0bc4c67b2a45458d2e270d2df9
BLAKE2b-256 1c61d05a1ed508a2c4e57ddab174975dcac0dfe0126467976b5b0b7d377281b1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: litebee-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 19.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 64861897adc9951a7e29e12c8ac42314c9c259ec40ae707d2e06d4d75c46f79f
MD5 a282df3d8a7fdfeb62dabde884cc7239
BLAKE2b-256 e5d9d09f1d5ff06509c3aad3a31b20006f6851045ca9edf96ed63dadb9029a3e

See more details on using hashes here.

Provenance

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