Some Bluetooth examples from Python
Python can access Bluetooth for scanning, pairing, etc. for old-fashioned Bluetooth and the newer Bluetooth Low Energy (BLE) using PyBluez.
I made some example use cases as well as numerous troubleshooting tips at a GitHub repo.