Skip to main content

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


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

Uploaded Source

Built Distribution

frameutils-0.1.12-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file frameutils-0.1.12.tar.gz.

File metadata

  • Download URL: frameutils-0.1.12.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for frameutils-0.1.12.tar.gz
Algorithm Hash digest
SHA256 134c1c684b01c5873c24403f25858413a6942dff9047786a0b211ca8bf14a0e5
MD5 1f8eb47fa78976c8efbcdf2064971608
BLAKE2b-256 4c5b7507586ca0ca2f9b66db0aea468114883c4c6839cfce660bb6dcad8ea160

See more details on using hashes here.

File details

Details for the file frameutils-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: frameutils-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for frameutils-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 b29a57167ae4811fe1aea761f4fdc9de48d00753a951f7d54ac2fa2a84444698
MD5 231169fbcca6b66597d2430ec81fa272
BLAKE2b-256 730fb596ad78ba0d65a46b4a454b50d0433a8a1590e9d0d300ca4cd59745804d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page