Reference/API#
astropy.config Package#
This module contains configuration and setup utilities for the Astropy project.
Functions#
|
Create the default configuration file for the specified package. |
|
Generates a configuration file, from the list of |
|
Determines the Astropy cache directory name and creates the directory if it doesn't exist. |
|
Determines the Astropy cache directory name and creates the directory if it doesn't exist. |
|
Gets the configuration object or section associated with a particular package or module. |
|
Determines the package configuration directory name and creates the directory if it doesn't exist. |
|
Determines the package configuration directory name and creates the directory if it doesn't exist. |
|
Reloads configuration settings from a configuration file for the root package of the requested package/module. |
Classes#
|
A setting and associated value stored in a configuration file. |
A namespace of configuration items. |
|
A Warning that is issued when the configuration value specified in the astropy configuration file does not match the type expected for that configuration value. |
|
|
Context manager to set a temporary path for the Astropy download cache, primarily for use with testing (though there may be other applications for setting a different cache directory, for example to switch to a cache dedicated to large files). |
|
Context manager to set a temporary path for the Astropy config, primarily for use with testing. |