1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
.. _utils:
************************************************
Astropy Core Package Utilities (`astropy.utils`)
************************************************
Introduction
============
The `astropy.utils` package contains general-purpose utility functions and
classes. Examples include data structures, tools for downloading and caching
from URLs, and version intercompatibility functions.
This functionality is not astronomy-specific, but is intended primarily for
use by Astropy developers. It is all safe for users to use, but the functions
and classes are typically more complicated or specific to a particular need of
Astropy.
Because of the mostly standalone and grab-bag nature of these utilities, they
are generally best understood through their docstrings, and hence this
documentation generally does not have detailed sections like the other packages.
The exceptions are below:
.. toctree::
:maxdepth: 1
iers
data
masked/index
.. note:: The ``astropy.utils.compat`` subpackage is not included in this
documentation. It contains utility modules for compatibility with
older/newer versions of python and numpy, as well as including some
bugfixes for the stdlib that are important for ``astropy``. It is recommended
that developers at least glance over the source code for this subpackage,
but most of it cannot be reliably included here because of the large
amount of version-specific code it contains. Its content is solely for
internal use of ``astropy`` and subject to changes without deprecations.
Do not use it in external packages or code.
Reference/API
=============
.. toctree::
:maxdepth: 2
ref_api
|