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

Uploaded Source

Built Distribution

frame_ble-1.0.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: frame_ble-1.0.1.tar.gz
  • Upload date:
  • Size: 5.5 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.1.tar.gz
Algorithm Hash digest
SHA256 b80ab777c34e8e18de963d6292e12dafc19b1b576264cf1916ab9e45e106e686
MD5 2c104129fc47c9655ce93de0ad366247
BLAKE2b-256 0cd5b62305eebd60d1715c1d72cf4868fe71475979c59b778742055a9d49863a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: frame_ble-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b92e36735405d8046e48dd8d63d30205fd84220bc72cc1a933005ebce1c2c8b
MD5 99dd2d2d3ab1e8601b69f7da2cbca5c5
BLAKE2b-256 693d5dc0f814f129a85cb19b58df95bb2ba0011875b3f1e5c414f7b20d47d75d

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