(license_url)
return info.url
returns a "pretty" license name for a license URL
returns a "pretty" license name for a license URL
returns a pretty license name for a license URL
def license_name(license_url):
    """returns a "pretty" license name for a license URL"""

    info = license_info(license_url)

    if info.name:
        return "%s %s" % (info.name, info.version or "")

    return info.url
def license_name ( license_url ) : info = license_info ( license_url ) if info . name : return "%s %s" % ( info . name , info . version or "" ) return info . url