Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Documentation | View on Github | Download Stable ZIP | Download Stable TAR

Accessing Online Astronomical Data

Astroquery is an astropy 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, use the simbad sub-package:

>>> from astroquery.simbad import Simbad
>>> theta1c = Simbad.query_object('tet01 Ori C')
>>> theta1c.pprint()
   MAIN_ID          RA           DEC      ... COO_QUAL COO_WAVELENGTH     COO_BIBCODE
------------- ------------- ------------- ... -------- -------------- -------------------
* tet01 Ori C 05 35 16.4637 -05 23 22.848 ...        A              O 2007A&A...474..653V

Installation and Requirements

As an astropy affiliate, astroquery requires astropy. However, because astroquery relies heavily upon the astropy.coordinates module, the development version of astropy is required. astropy can be installed from pip:

$ pip install git+http://github.com/astropy/astropy.git#egg=astropy

astroquery uses the requests module to communicate with the internet. requests can also be installed with pip.

The first beta release of astroquery can be downloaded or pip installed:

$ pip install https://github.com/astropy/astroquery/archive/v0.1.tar.gz

If you’d like the latest development version, you can install it with the following commands:

$ git clone git@github.com:astropy/astroquery.git
$ cd astroquery
$ python setup.py install

pip install also works:

$ pip install git+http://github.com/astropy/astroquery.git#egg=astroquery

Using astroquery

Importing astroquery on its own doesn’t get you much: you need to import each sub-module specifically. Check out the docs to find a list of the tools available. 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 as much as possible.

List of Modules

Metadata

Release files for astroquery 0.0.dev1194

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astroquery 0.0.dev1194
File Size Uploaded Provenance
astroquery-0.0.dev1194.tar.gz 1.3 MB Without provenance Details

Release files / astroquery-0.0.dev1194.tar.gz

Download URL astroquery-0.0.dev1194.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
944ff706b2bd9ed13f108624855aeb9b9fc3faa236362120270dcbe97f5e3a0f
BLAKE2b-256 checksum
How to use checksums
9d8a2456c39e2e18c9911077cae91e58fc5d8c621d8d4ffd1fbdb37bd10893d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for astroquery 0.0.dev1194

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.dev270

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page