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.4.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: frame_ble-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 38b64c77a5a7ec17b306277cadfded43a469ccd952b115a09cc5d5ab7c2e3bb7
MD5 0e27d324110f7ee7c2194a96a5d255cc
BLAKE2b-256 56f12137dafee74207720803f379ba208baa7f3e661570808355a02b6b2e6f2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: frame_ble-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d18530523dcf573e0f5ff77b89d17794cae08b984a8c5a676ac4ee18e2227644
MD5 aac2e2ffaf51a764f7ec5e14c1aa09f4
BLAKE2b-256 945180a93ddcc85fd654060514e4d43688e842e59300c33bfeb88e7d5b017a8e

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