code: def public(self, username=None):
          
          username = username or self.bitbucket.username or ''
          url = self.bitbucket.url('GET_USER', username=username)
          response = self.bitbucket.dispatch('GET', url)
          try:
              return (response[0], response[1]['repositories'])
          except TypeError:
              pass
          return response
docs: Returns all public repositories from an user.
              If username is not defined, tries to return own public repos.