Metadata-Version: 2.4
Name: frame-ble
Version: 1.0.5
Summary: Low-level library for Bluetooth LE connection to Brilliant Labs Frame
Project-URL: Homepage, https://github.com/CitizenOneX/frame_ble_python
Project-URL: Bug Tracker, https://github.com/CitizenOneX/frame_ble_python/issues
Project-URL: Changelog, https://github.com/CitizenOneX/frame_ble_python/blob/main/CHANGELOG.md
Author: CitizenOne
License-File: LICENSE
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# frame-ble

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

## Installation

```bash
pip install frame-ble
```

## Usage

```python
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())
```
