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

Uploaded Source

Built Distribution

frame_ble-1.0.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: frame_ble-1.0.2.tar.gz
  • Upload date:
  • Size: 5.6 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.2.tar.gz
Algorithm Hash digest
SHA256 cd285c1ef74552d8e587d36c824102e7815f34a248fe95c89e64f51db81c0bd6
MD5 2a83c5d77eee56bc9d2c069155896dfd
BLAKE2b-256 b183531c1b7c91936e54b2f1171a22457bb66c98c611ee5265298ed2abcda63a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: frame_ble-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c81d4300915dbb5fc431704dd9cadab09a19e131ef2ee67c056fffc3f3a0123e
MD5 077a7a830d0d1ef3d46430d75c27f0d0
BLAKE2b-256 454d725ed9a7f8d439aadbbbc21a47ca7db9ffc42416abc391251440efaea0bb

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