Conf¶
-
class
astropy.utils.data.Conf[source]¶ Bases:
astropy.config.ConfigNamespaceConfiguration parameters for
astropy.utils.data.Attributes Summary
compute_hash_block_sizeBlock size for computing file hashes. dataurlPrimary URL for astropy remote data site. dataurl_mirrorMirror URL for astropy remote data site. default_http_user_agentDefault User-Agent for HTTP request headers. delete_temporary_downloads_at_exitIf True, temporary download files created when the cache is inaccessible will be deleted at the end of the python session. download_block_sizeNumber of bytes of remote data to download per step. download_cache_lock_attemptsNumber of seconds to wait for the cache lock to be free. remote_timeoutTime to wait for remote data queries (in seconds). Attributes Documentation
-
compute_hash_block_size¶ Block size for computing file hashes.
-
dataurl¶ Primary URL for astropy remote data site.
-
dataurl_mirror¶ Mirror URL for astropy remote data site.
-
default_http_user_agent¶ Default User-Agent for HTTP request headers. This can be overwrittenfor a particular call via http_headers option, where available.This only provides the default value when not set by https_headers.
-
delete_temporary_downloads_at_exit¶ If True, temporary download files created when the cache is inaccessible will be deleted at the end of the python session.
-
download_block_size¶ Number of bytes of remote data to download per step.
-
download_cache_lock_attempts¶ Number of seconds to wait for the cache lock to be free. It should normally only ever be held long enough to copy an already-downloaded file into the cache, so this will normally only run over if something goes wrong and the lock is left held by a dead process; the exception raised should indicate this and what to do to fix it.
-
remote_timeout¶ Time to wait for remote data queries (in seconds).
-