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.7.0.tar.gz (19.8 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.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: litebee-0.7.0.tar.gz
  • Upload date:
  • Size: 19.8 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.0.tar.gz
Algorithm Hash digest
SHA256 28fb27f1c7822db23f63ae7b26fa04c23a802c0c6db48527f75923f3ea1ba3aa
MD5 c0e001f8be83d1b6208da25a371e7466
BLAKE2b-256 dfe285b9d6d43b4e00f55a54ef785c8ab9545f6bb607c9c0ec6eac704335a6d8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: litebee-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 18.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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2cc03da48a5b2e91e1d41a2d7c46d5ac16c81665e25e6e78348144f45fcbde6
MD5 5e21c8023b886d3d75399d16c60d310a
BLAKE2b-256 5779fa6945bdc996e90c7be750893e28b49a3f7ad34c5ba03fcb321bed63c291

See more details on using hashes here.

Provenance

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