Skip to main content

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 --debug to 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> with btui connect|disconnect.
  • Profiles:
    • [profiles.<name>] with devices = ["AA:BB", "11:22"].
    • Activate with btui profile activate <name>.
  • TUI:
    • f/c filter favorites/connected-only; t toggles favorite for selected device.
    • enter connect/disconnect selected; o/i set default audio out/in (macOS with SwitchAudioSource).
    • p activates the last/first profile defined.

Backends

  • macOS: requires blueutil in PATH. Optional audio routing via SwitchAudioSource.
  • 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 build then twine upload dist/*
  • Recommended install: pipx install btui

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

btui-0.1.1.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

btui-0.1.1-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

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

Hashes for btui-0.1.1.tar.gz
Algorithm Hash digest
SHA256 02ed9a39fbe260587dec490a5cc1a31cc7a55b334147084708ccc7e5fdc9b8d9
MD5 a3d47f24520111868d0bc04655cee69d
BLAKE2b-256 37186e34fe32c5f16b330d0b99c29d43119f33d72389150bcc6089dc32f7fa85

See more details on using hashes here.

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

Hashes for btui-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0fa7dcd1998d920958ccbd55a32f2b83484472f2cfbfe58f0088e91e3eb27d0
MD5 1215300b1c9f63a2619629267934a82e
BLAKE2b-256 3763a61e8cd6f22e518c79d0df0995fb9e379a629e37e0c37a4a4f6b1b32fcec

See more details on using hashes here.

Supported by

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