Python wrapper around xautomate because Python is disco super-fly.