def METHOD_NAME(self):
    url = urlparse(self.base_url)
    netloc = url.hostname
    if url.port:
        netloc += ':%s' % url.port
    return '//%s@%s%s/%s' % (self.public_key, netloc, url.path, self.project)