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

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

drone_show.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.6.0.tar.gz (19.1 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.6.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: litebee-0.6.0.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for litebee-0.6.0.tar.gz
Algorithm Hash digest
SHA256 94d872b2b59da1836869d893fc9a55c579c3c733fe7352a69f8774d018d173c1
MD5 d25364d047291bbdfcb5196a3d06f8dd
BLAKE2b-256 ce7b372db7c200bf898c40fb0aa648f946f559f1abe5bf41be2db140e9a4acae

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: litebee-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 112bb017b2a3aa00e4aae04d10d1976017a2287ecd694b30217e9dfff33dfed0
MD5 680cf54ef37c0f54087fde747e242069
BLAKE2b-256 6fff4ac82290e5321bb6d5ca39915c3e08d2743e46fa87200bdd477b598379fe

See more details on using hashes here.

Provenance

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