from py_jama_rest_client.client import JamaClient basic_auth_client = JamaClient('https://yourdomain.jamacloud.com', credentials=('username', 'password'))