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.13.tar.gz
(6.8 kB
view details)
Built Distribution
File details
Details for the file frameutils-0.1.13.tar.gz
.
File metadata
- Download URL: frameutils-0.1.13.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f2b56c65ade1c66f33f69e33694e51b61acfe06a42c3514b9e88d139e748d6b |
|
MD5 | 353c86a4cc4bb08e3bf4484c763e0fa7 |
|
BLAKE2b-256 | a4ea64ea0aa851e9c0482b036d0e62b8cee2b60e9d8a0b69da6fcb0461841f17 |
File details
Details for the file frameutils-0.1.13-py3-none-any.whl
.
File metadata
- Download URL: frameutils-0.1.13-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 851a53d029535c216066fb5b3167b46d87a94de6262c62799c7d78c829c4a5a6 |
|
MD5 | 23fe92e1eaa206b24ddec9cb8350e2f6 |
|
BLAKE2b-256 | dccdd01275f2bde8c2c3a016fe7189f17c33ae0bc1cd334c611c65d7b2156846 |