{ } Raw JSON

bundles / astropy latest / astropy / utils / data / _get_download_cache_loc

function

astropy.utils.data:_get_download_cache_loc

source: /astropy/utils/data.py :1870

Signature

def   _get_download_cache_loc ( pkgname = astropy )

Summary

Finds the path to the cache directory and makes them if they don't exist.

Parameters

pkgname : `str`, optional

The package name to use to locate the download cache. i.e. for pkgname='astropy' the default cache location is ~/.astropy/cache.

Returns

datadir : str

The path to the data cache directory.

Aliases

  • astropy.utils.data._get_download_cache_loc