Cross-platform Bluetooth TUI manager
Project description
Bluetooth TUI Manager (btui)
Work-in-progress cross-platform TUI for discovering and managing Bluetooth devices from the terminal.
Quick start (once dependencies installed):
btui list— list paired devices.btui scan— discover nearby devices.btui connect <id>/btui disconnect <id>— manage connections.btui tui— launch the Textual interface.btui profile list/btui profile activate <name>— manage profile groups from config.btui config init— write a starter config.btui doctor— check platform dependencies.- Add
--debugto commands for file/console logging (~/.config/btui/log.txt).
See roadmap.md for the feature plan and milestones.
Config
- Location:
~/.config/btui/config.toml(Linux/macOS) or%APPDATA%\\btui\\config.toml(Windows). - Favorites:
[favorites]section mapping names to device IDs (e.g.,work = "AA:BB:CC:DD:EE:FF").- Use
--favorite <name>withbtui connect|disconnect.
- Profiles:
[profiles.<name>]withdevices = ["AA:BB", "11:22"].- Activate with
btui profile activate <name>.
- TUI:
f/cfilter favorites/connected-only;ttoggles favorite for selected device.enterconnect/disconnect selected;o/iset default audio out/in (macOS with SwitchAudioSource).pactivates the last/first profile defined.
Backends
- macOS: requires
blueutilin PATH. Optional audio routing viaSwitchAudioSource. - Linux: requires
bluetoothctl(bluez utilities). - Windows: read-only listing for now (connect/disconnect not yet implemented).
Development / packaging
- Install dev deps:
pip install -e .[dev] - Tests:
python -m pytest - Lint:
python -m ruff . - Build:
python -m buildthentwine upload dist/* - Recommended install:
pipx install btui
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
btui-0.1.1.tar.gz
(19.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
btui-0.1.1-py3-none-any.whl
(19.4 kB
view details)
File details
Details for the file btui-0.1.1.tar.gz.
File metadata
- Download URL: btui-0.1.1.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02ed9a39fbe260587dec490a5cc1a31cc7a55b334147084708ccc7e5fdc9b8d9
|
|
| MD5 |
a3d47f24520111868d0bc04655cee69d
|
|
| BLAKE2b-256 |
37186e34fe32c5f16b330d0b99c29d43119f33d72389150bcc6089dc32f7fa85
|
File details
Details for the file btui-0.1.1-py3-none-any.whl.
File metadata
- Download URL: btui-0.1.1-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0fa7dcd1998d920958ccbd55a32f2b83484472f2cfbfe58f0088e91e3eb27d0
|
|
| MD5 |
1215300b1c9f63a2619629267934a82e
|
|
| BLAKE2b-256 |
3763a61e8cd6f22e518c79d0df0995fb9e379a629e37e0c37a4a4f6b1b32fcec
|