schrodinger.utils.url module

schrodinger.utils.url.format_url(url: str) str

Format the given URL. Adds ‘https’ protocol if missing and removes any trailing ‘/’s

Parameters:

url – The URL to format

Returns:

Formatted URL