bundles / astropy 7.0.1 / astropy / utils / data / get_cached_urls
function
astropy.utils.data:get_cached_urls
source: /astropy/utils/data.py :2138
Signature
def get_cached_urls ( pkgname = astropy ) Summary
Get the list of URLs in the cache. Especially useful for looking up what files are stored in your cache when you don't have internet access.
Extended Summary
The listed URLs are the keys programs should use to access the file contents, but those contents may have actually been obtained from a mirror. See ~download_file for details.
Parameters
pkgname: `str`, optionalThe package name to use to locate the download cache. i.e. for
pkgname='astropy'the default cache location is~/.astropy/cache.
Returns
cached_urls: listList of cached URLs.
See also
- cache_contents
obtain a dictionary listing everything in the cache
Aliases
-
astropy.utils.data.get_cached_urls