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 Curve4) and basic usage have been implemented, this includes:

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

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.3.tar.gz (21.7 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.3-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: litebee-0.8.3.tar.gz
  • Upload date:
  • Size: 21.7 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.3.tar.gz
Algorithm Hash digest
SHA256 3c9a65347e1cd76bac4ebde5c364b6c8a2956d05684b7ccec1c2864cc6acb557
MD5 6e91d60f8ef5b6985f3deedc5f7ab061
BLAKE2b-256 e077a06bcb1afa23951cdce35f3b28e7e64fa1d0c8b9169e6cbbe90465121e2e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: litebee-0.8.3-py3-none-any.whl
  • Upload date:
  • Size: 19.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 27455d81d2c05de64008390cc352630fef05094dbd24d59ff3dfbb231ac0a0d3
MD5 1591aee302d4ba33ff4e3429ce0561a9
BLAKE2b-256 212e334e550ae137991e5500a6c2ab9425f9c4535fb75028ab2f25a71dce463e

See more details on using hashes here.

Provenance

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