Skip to content

Python

The Aidlab Python SDK enables you to read data from multiple Aidmed One and Aidlab devices simultaneously. It supports Windows, macOS, and Linux and is compatible with Python 3.

Installation

bash
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.