Dealing with the BlueZ stack involves using D-bus, which probably stands for "desktop bus". It is a Fedora invented interprocess communication scheme invented by Fedora.
The python code I have that talks to bluetooth uses GLib, which I found surprising since there is no Gtk GUI involved. It uses GLib for the ability to handle events, which is still somewhat surprising, but perhaps it is necessary or at least a simple way to get things done.
Tom's Software pages / tom@mmto.org