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.14.tar.gz
(7.2 kB
view details)
Built Distribution
File details
Details for the file frameutils-0.1.14.tar.gz
.
File metadata
- Download URL: frameutils-0.1.14.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5a5bfec1b5ecfad8aa7f855116f7963b1abcd458b4409eca47b5591d99606e7 |
|
MD5 | 1f8540904de2af5690de98e1c1a4d7b0 |
|
BLAKE2b-256 | f595ae8d8004161b7e9cd4d6dc87d53ba3133cbbafe6d80c57b72f5479cfe330 |
File details
Details for the file frameutils-0.1.14-py3-none-any.whl
.
File metadata
- Download URL: frameutils-0.1.14-py3-none-any.whl
- Upload date:
- Size: 7.5 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 | f0b12ea5e09f3d8b5b1d27a9f119c1cbd47c71464bbb2a1882da3142f51222d7 |
|
MD5 | caa3d09fa20acce0c06e448ef3484d9a |
|
BLAKE2b-256 | 33ef3d16dea5d47b569644e94ca9e325251ad7ebabbdda665e6b346cc655790d |