def latest_stable_version(get):
 metadata = loads(get(environ.get('LE_AUTO_JSON_URL', 'https://pypi.python.org/pypi/certbot/json')))
 return str(max((LooseVersion(r) for r in metadata['releases'].iterkeys() if re.match('^[0-9.]+$', r))))

def latest_stable_version ( get ) : metadata = loads ( get ( environ . get ( 'LE_AUTO_JSON_URL' , 'https://pypi.python.org/pypi/certbot/json' ) ) ) return str ( max ( ( LooseVersion ( r ) for r in metadata [ 'releases' ] . iterkeys ( ) if re . match ( '^[0-9.]+$' , r ) ) ) )
return the latest stable release of letsencrypt .