Python bindings for Thor