There’s a recent open source Python3 Bluetooth device scanner SDL_Pi_iBeaconScanner that reads iBeacon advertisements using a Bluetooth dongle on a Raspberry Pi.
The code comes from the APress book Raspberry Pi IoT Projects: Prototyping Experiments for Makers.
Full source code from the book is also available.