Python bindings for qsome