Useful utilities for your Brilliant Frame AR glasses
Project description
Frame Utilities – for Python
Useful utilities for your Brilliant Frame such as a Bluetooth communication library, and font generation tools.
Install
pip3 install frameutils
Bluetooth communication library
As simple as:
import asyncio
from frameutils import Bluetooth
async def main():
bluetooth = Bluetooth()
await bluetooth.connect()
print(await bluetooth.send_lua("print('hello world')", await_print=True))
print(await bluetooth.send_lua("print(1 + 2)", await_print=True))
await bluetooth.disconnect()
asyncio.run(main())
Tests
To run the unit tests, ensure you have an unconnected Frame device in range, and then run:
python3 -m pytest tests/test_bluetooth.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
frameutils-0.1.7.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for frameutils-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5d7c6b6f23a90ccc73ff7dab053e91b2ea45bd9455d52bc572726ba90f7f5e1 |
|
MD5 | 57a3e62c08b12afcf84edd4cf80ca0fc |
|
BLAKE2b-256 | 96706f956677ce57e4c2870302198c4deaf34fbf6a6d2a7252c6326091280b7c |