{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"}],"enrichment":{"capability":"Wraps Bleak's Bluetooth client with automatic retry logic and backoff to handle transient connection failures, including service caching for faster reconnections.","skillfed_tags":["bluetooth","ble","async"],"use_cases":["IoT applications connecting to multiple BLE devices where occasional timeouts or slot exhaustion occur.","Mobile or desktop apps that need to reconnect to wearables or sensors with automatic retry on failure.","Embedded device communication (e.g., ESP32) where connection slots are limited and retries are essential.","Long-running services that maintain persistent Bluetooth connections and need resilience to transient network glitches.","Testing or debugging Bluetooth devices where connection instability is expected during development."],"what_it_does":"Bleak Retry Connector is a wrapper around the Bleak Bluetooth Low Energy client that adds automatic retry logic for transient connection failures. Instead of calling BleakClient.connect() directly, you call establish_connection() with your device and a retry count, and the library handles retries with intelligent backoff, service caching, and platform-specific workarounds. It solves common Bluetooth connection problems like timeouts on first attempt, \"out of connection slots\" errors on ESP32 devices, and interference from other Bluetooth operations.\n\nThe package provides BleakClientWithServiceCache, which caches GATT services to speed up reconnections, and establish_connection(), which orchestrates the retry loop and error handling. It's designed for applications that need reliable Bluetooth connectivity across different operating systems and device types, particularly where transient failures are common or connection slots are limited.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and solves a real problem in Bluetooth connectivity. If your application uses Bleak and experiences transient connection failures, this wrapper is a straightforward drop-in that adds retry logic and service caching with minimal overhead. Install it if you need reliable reconnection handling; skip it only if your use case has no tolerance for retries or you manage reconnection logic yourself."},"id":"bleak-retry-connector","links":{"html":"https://skillfed.io/packages/bleak-retry-connector","md":"https://skillfed.io/packages/bleak-retry-connector.md","pypi":"https://pypi.org/project/bleak-retry-connector/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-22","license_spdx":"MIT","license_treatment":"permissive","name":"bleak-retry-connector","python_support":"supports_current","summary":"A connector for Bleak Clients that handles transient connection failures"},"popularity":{"monthly_downloads":1010703,"position":4514,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.6.3"}
