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)
| File | Size | Uploaded | |
|---|---|---|---|
| frameutils-0.1.15.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|