Skip to main content

Low-level library for Bluetooth LE connection to Brilliant Labs Frame and Halo devices

Project description

brilliant-ble

Low-level library for Bluetooth LE connection to Brilliant Labs Frame and Halo devices.

Frame SDK documentation.

Examples on GitHub.

Installation

uv add brilliant-ble

Usage

import asyncio
from brilliant_ble import BrilliantBle

async def main():
    frame = BrilliantBle()

    try:
        await frame.connect()

        await frame.send_lua("frame.display.text('Hello, World!', 1, 1);frame.display.show();print(nil)", await_print=True)

        await frame.disconnect()

    except Exception as e:
        print(f"Not connected to Device: {e}")
        return

if __name__ == "__main__":
    asyncio.run(main())

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

brilliant_ble-3.0.0.tar.gz (172.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brilliant_ble-3.0.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file brilliant_ble-3.0.0.tar.gz.

File metadata

  • Download URL: brilliant_ble-3.0.0.tar.gz
  • Upload date:
  • Size: 172.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for brilliant_ble-3.0.0.tar.gz
Algorithm Hash digest
SHA256 a6737320316ae13c9871932df3edf11a765cc63b808050e4f57813afbd64966e
MD5 c4ef5d28d6339f2ba176a4f31485cfdb
BLAKE2b-256 0bd0024ce5c18513a00e0f13666a894719683b53d24a463e13b4f725a0bb2076

See more details on using hashes here.

File details

Details for the file brilliant_ble-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: brilliant_ble-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for brilliant_ble-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bebd1e7700eda4e53d3c00a321e585107300513adb6591f3bd783a270e4d4b32
MD5 d9e5652785741c9a6f0dedcbe116187e
BLAKE2b-256 d55779bc0ada7acc530781b7cf9cc758114df78b75a0b71510c473a6db50184d

See more details on using hashes here.

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