A cross-platform Python Bluetooth API for Mac OS X, GNU/Linux and Python For Series 60. Provides simple device and service discovery, RFCOMM sockets, L2CAP client sockets, OBEX file transfer, service advertising, and access to local device information.
lightblue works nicely
Wrestled with out-of-date Apple bluetooth examples in C and ObjC; got their RFCOMM chat client half working (send, no receive?) after winding through many lines of code and commenting out some of the discovery stuff; found LightBlue, 5 lines of code to do the same thing interactively from the shell, wound it into a script, voila. .5hr vs 2 days. Thanks for this. I'm using your library to run tests on my own embedded bluetooth device, and it'll be trivial to script unit tests with this.