Skip to content

Python ​

The Aidlab Python SDK enables you to read data from multiple supported devices simultaneously. It supports Windows, macOS, and Linux and requires Python 3.10 or newer.

Installation ​

bash
python -m pip install aidlabsdk

A laptop or PC with a Bluetooth 4.0+ module is required.

Logging ​

The SDK no longer configures logging for you. To enable SDK or BLE diagnostics, configure Python logging in your app:

python
import logging

# Route Aidlab SDK messages to INFO level (keep other loggers untouched)
logging.getLogger("aidlab").setLevel(logging.INFO)

# Optional: silence verbose Bleak output
logging.getLogger("bleak").setLevel(logging.ERROR)

Remember to add your own logging.basicConfig(...) (or equivalent) if the host app hasn’t initialized logging.