{"categories":[{"label":"Home Automation","url":"https://skillfed.io/packages/category/home-automation"},{"label":"Education","url":"https://skillfed.io/packages/category/education"},{"label":"Hardware","url":"https://skillfed.io/packages/category/system-hardware"},{"label":"Embedded Systems","url":"https://skillfed.io/packages/category/software-development-embedded-systems"}],"enrichment":{"capability":"A Python library for controlling BlueZ Bluetooth adapters on Linux via the Management API, supporting both synchronous and event-driven command patterns.","skillfed_tags":["bluetooth","linux-only","requires-root"],"use_cases":["Automate Bluetooth adapter power management and discovery on embedded Linux systems","Build home automation scripts that scan for and manage Bluetooth device presence","Develop educational projects exploring the BlueZ stack and low-level Bluetooth protocol","Monitor and control Bluetooth adapters programmatically in system administration tools","Create event-driven applications that react to Bluetooth device discovery or connection changes"],"what_it_does":"btsocket is a low-level Python wrapper around the BlueZ Bluetooth Management API on Linux. It provides access to the kernel's mgmt socket interface for controlling Bluetooth adapters\u2014powering them on/off, discovering devices, and managing connections\u2014without the ability to read or write data on connected devices themselves. The library requires root or CAP_NET_ADMIN capability for most operations.\n\nThe package splits functionality into three layers: a socket layer (working around a Python limitation to access the user channel), a protocol layer for encoding and decoding binary mgmt commands and responses, and a programming paradigm layer offering both synchronous (blocking) and callback-driven (event-based) APIs. It is explicitly positioned as an early-stage proof of concept and not recommended as a first Bluetooth library for newcomers.","worth_installing":"Yes, if you need direct access to BlueZ's management API on Linux and are comfortable with root-level operations and early-stage code. No, if you are new to Bluetooth, need data I/O on connected devices, or require a mature, actively maintained library. The aging maintenance status suggests caution for production use."},"id":"btsocket","links":{"html":"https://skillfed.io/packages/btsocket","md":"https://skillfed.io/packages/btsocket.md","pypi":"https://pypi.org/project/btsocket/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-06-10","license_spdx":null,"license_treatment":"permissive","name":"btsocket","python_support":"unspecified","summary":"Python library for BlueZ Bluetooth Management API"},"popularity":{"monthly_downloads":625467,"position":5695,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.0"}
