is_url_in_cache#
- astropy.utils.data.is_url_in_cache(url_key, pkgname='astropy')[source]#
Check if a download for
url_key
is in the cache.The provided
url_key
will be the name used in the cache. The contents may have been downloaded from this URL or from a mirror or they may have been provided by the user. Seedownload_file
for details.- Parameters:
- Returns:
See also
cache_contents
obtain a dictionary listing everything in the cache