import pepper.libpepper s = pepper.libpepper.Pepper('https://localhost:32768') s.login('salt', 'foobar', 'sharedsecret') s.local('*', 'test.ping') type(s.local('*', 'test.ping')) s.local('*', 'test.ping')