Skip to main content

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

Project description

frame-ble

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

Installation

pip install frame-ble

Usage

import asyncio
from frame_ble import FrameBle

async def main():
    frame = FrameBle()

    try:
        await frame.connect()

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

        await frame.disconnect()

    except Exception as e:
        print(f"Not connected to Frame: {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

frame_ble-1.0.3.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

frame_ble-1.0.3-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file frame_ble-1.0.3.tar.gz.

File metadata

  • Download URL: frame_ble-1.0.3.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for frame_ble-1.0.3.tar.gz
Algorithm Hash digest
SHA256 5c93adf0b2c420617f21f12ef9b98c4cc7cce34224d8d2e7df2fc0f2e230c802
MD5 12c89f4bd13b7a8ce71910eca17b9f0f
BLAKE2b-256 8b73e7a374f17d013b485f6644662a12fa1022d8574b096aef34787e4ee2386c

See more details on using hashes here.

File details

Details for the file frame_ble-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: frame_ble-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for frame_ble-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d99de9df63bb9fd03264b425c61458f995e032fdd5c666208fbd2f72be1d5cbc
MD5 516b90dab6b706cb56cec6d55887a104
BLAKE2b-256 073d648149cc26738a780067fed00db2094333d73b7291264e8356a3db86be20

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page