python bitbucket module example