Conf¶
-
class
astropy.utils.data.
Conf
[source]¶ Bases:
astropy.config.ConfigNamespace
Configuration parameters for
astropy.utils.data
.Attributes Summary
Block size for computing file hashes.
dataurl
()Primary URL for astropy remote data site.
Mirror URL for astropy remote data site.
Default User-Agent for HTTP request headers.
If True, temporary download files created when the cache is inaccessible will be deleted at the end of the python session.
Number of bytes of remote data to download per step.
Number of seconds to wait for the cache lock to be free.
Time 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).
-