Metadata-Version: 2.4
Name: astroquery
Version: 0.4.12
Summary: Functions and classes to access online astronomical data resources
Author: The Astroquery Developers
License-Expression: BSD-3-Clause
Project-URL: Source, https://github.com/astropy/astroquery
Project-URL: Documentation, https://astroquery.readthedocs.io
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Database
Classifier: Topic :: Scientific/Engineering :: Astronomy
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE.rst
Requires-Dist: numpy>=1.22
Requires-Dist: astropy>=5.0
Requires-Dist: requests>=2.26
Requires-Dist: beautifulsoup4>=4.10
Requires-Dist: html5lib>=0.999
Requires-Dist: keyring>=23.0
Requires-Dist: pyvo>=1.5
Provides-Extra: test
Requires-Dist: pytest>=7.4; extra == "test"
Requires-Dist: pytest-doctestplus>=1.4; extra == "test"
Requires-Dist: pytest-timeout; extra == "test"
Requires-Dist: pytest-astropy; extra == "test"
Requires-Dist: matplotlib; extra == "test"
Requires-Dist: pytest-dependency; platform_system != "Windows" and extra == "test"
Requires-Dist: pytest-rerunfailures; extra == "test"
Requires-Dist: fsspec[http]; extra == "test"
Requires-Dist: moto[s3]; extra == "test"
Requires-Dist: s3fs; extra == "test"
Provides-Extra: docs
Requires-Dist: sphinx; extra == "docs"
Requires-Dist: sphinx-automodapi; extra == "docs"
Requires-Dist: matplotlib; extra == "docs"
Requires-Dist: sphinx-astropy[confv3]>=1.11; extra == "docs"
Requires-Dist: scipy; extra == "docs"
Requires-Dist: fsspec[http]; extra == "docs"
Provides-Extra: all
Requires-Dist: mocpy>=0.12; extra == "all"
Requires-Dist: astropy-healpix; extra == "all"
Requires-Dist: boto3; extra == "all"
Requires-Dist: botocore; extra == "all"
Requires-Dist: regions>=0.5; extra == "all"
Requires-Dist: roman_datamodels; extra == "all"
Requires-Dist: Pillow; extra == "all"
Dynamic: license-file

`Documentation`_ | `View on Github`_ |  `Download Development ZIP`_

.. image:: https://img.shields.io/pypi/v/astroquery.svg
    :target: https://pypi.org/project/astroquery/#history
    :alt: Latest PyPI version

.. image:: https://readthedocs.org/projects/astroquery/badge/?version=latest
    :target: https://astroquery.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://github.com/astropy/astroquery/workflows/CI/badge.svg
    :target: https://github.com/astropy/astroquery/actions?query=workflow%37ACI
    :alt: Github Actions CI Status

.. image:: https://codecov.io/gh/astropy/astroquery/branch/main/graph/badge.svg
    :target: https://codecov.io/gh/astropy/astroquery
    :alt: Coverage results

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1160627.svg
   :target: https://doi.org/10.5281/zenodo.1160627
   :alt: Zenodo


==================================
Accessing Online Astronomical Data
==================================

Astroquery is an `astropy <https://www.astropy.org>`_ affiliated package that
contains a collection of tools to access online Astronomical data. Each web
service has its own sub-package. For example, to interface with the `SIMBAD
website <https://simbad.cds.unistra.fr/simbad/>`_, use the ``simbad`` sub-package:

.. code-block:: python

    >>> from astroquery.simbad import Simbad
    >>> theta1c = Simbad.query_object('tet01 Ori C')
    >>> theta1c.pprint()
       main_id          ra           dec      ... coo_wavelength     coo_bibcode       matched_id
                       deg           deg      ...
    ------------- ------------- ------------- ... -------------- ------------------- -------------
    * tet01 Ori C 83.8186095697 -5.3897005033 ...              O 2020yCat.1350....0G * tet01 Ori C

Installation and Requirements
-----------------------------

Astroquery works with Python 3.10 or later.
As an `astropy`_ affiliate, astroquery requires `astropy`_ version 5.0 or later.

The latest version of astroquery can be pip installed (note the ``--pre`` for
picking up released developer versions, and ``-U`` for upgrade):

.. code-block:: bash

    $ python -m pip install -U --pre astroquery

To install all the mandatory and optional dependencies add the ``[all]``
identifier to the pip command above (or use ``[docs]`` or ``[test]`` for the
dependencies required to build the documentation or run the tests):

.. code-block:: bash

    $ python -m pip install -U --pre astroquery[all]


To install the 'bleeding edge' version from GitHub:

.. code-block:: bash

   $ python -m pip install git+https://github.com/astropy/astroquery.git


Using astroquery
----------------

Importing astroquery on its own doesn't get you much: you need to import each
sub-module specifically.  See the documentation for a list of `Available
Services <https://astroquery.readthedocs.io/en/latest/#available-services>`_.
The `API`_ shows the standard suite of tools common to most modules, e.g.
`query_object` and `query_region`.

To report bugs and request features, please use the issue tracker.  Code
contributions are very welcome, though we encourage you to follow the `API`_
and `contributing guidelines
<https://github.com/astropy/astroquery/blob/main/CONTRIBUTING.rst>`_ as much
as possible.

Citing Astroquery
-----------------

If you use ``astroquery``, please cite the paper we published in `The
Astronomical Journal <https://adsabs.harvard.edu/abs/2019AJ....157...98G>`__.

The BibTeX entry is available from the package itself::

  import astroquery
  astroquery.__citation__


In addition you may also want to refer to specific versions of the
package. We create a separate Zenodo DOI for each version, they can be
looked up at the following `Zenodo page <https://doi.org/10.5281/zenodo.591669>`__


Code contributions
------------------

Astroquery welcomes PRs from our colleagues working at the various archives and astronomical data centers and/or of users of astroquery. 
However, we opted in enforcing a PR limit to exitsing contributors due to the recent uptake of LLM generated PRs from people who are neither of the above.
If you are a new contributor in any of the categories listed, please reach out to one of the maintainers on the astropy slack about your planned contributions so we can add you to the exeptions list.

Additional Links
----------------

Maintained by `Adam Ginsburg`_ and `Brigitta Sipőcz <https://github.com/bsipocz>`_


.. _Download Development ZIP: https://github.com/astropy/astroquery/zipball/main
.. _View on Github: https://github.com/astropy/astroquery/
.. _Documentation: https://astroquery.readthedocs.io
.. _Adam Ginsburg: https://www.adamgginsburg.com
.. _API: https://astroquery.readthedocs.io/en/latest/api.html
