Skip to main content

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

Metadata

Release files for frameutils 0.1.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for frameutils 0.1.15
File Size Uploaded
frameutils-0.1.15.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for frameutils 0.1.15
File Interpreter ABI Platform
frameutils-0.1.15-py3-none-any.whl Python 3 none any Details

Total release size: 14.7 kB

Release files / frameutils-0.1.15.tar.gz

Download URL frameutils-0.1.15.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ae845275c6330d179e44ed4317ea7a738674d5c23fd32bcb63024a3d2d8f3095
BLAKE2b-256 checksum
How to use checksums
988ba6a41af500098de087e4717640e519d514462ad08a5de8bccf7b240d59b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5

Release files / frameutils-0.1.15-py3-none-any.whl

Download URL frameutils-0.1.15-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0ce2b2095adbe81fb0e316eaec9584d3248e1e9b7759409d4207699a4b9e5c5
BLAKE2b-256 checksum
How to use checksums
6b6cb37ffa437fffefa119307f78a24e6c6ae03fd5960380e3bc3388e936eb6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5

Release history Release notifications | RSS feed

This release

0.1.15 This release

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page