Skip to main content

Astropy affiliated package for accessing Virtual Observatory data and services

Project description

Powered by Astropy Badge CI Status Coverage Status https://zenodo.org/badge/10865450.svg

PyVO is a package providing access to remote data and services of the Virtual observatory (VO) using Python.

Its development was launched by the NSF/NASA-funded Virtual Astronomical Observatory (VAO, www.usvao.org) project (formerly under the name VAOpy) as part of its initiative to bring VO capabilities to desktop. Its goal is to allow astronomers and tool developers to access data and services from remote archives and other web resources. It takes advantage of VO standards to give access to thousands of catalogs, data archives, information services, and analysis tools. It also takes advantage of the general capabilities of Astopy (and numpy), and so a secondary goal is to provide a development platform for migrating more VO capabilities into Astropy.

Source code can be found on GitHub

Installation and Requirements

Releases of PyVO are available from PyPI thus, it and its prerequisites can be most easily installed using pip:

pip install pyvo

Releases are also conda packaged and available on the conda-forge channel.

PyVO requires Python 3.8 or later.

The following packages are required for PyVO:

The following packages are optional dependencies and are required for the full functionality:

  • pillow

  • defusedxml

For running the tests, and building the documentation, the following infrastructure packages are required:

To install from source use pip:

pip install .[all]

Using the developer version of PyVO in testing

We recommend and encourage testing against the development version of PyVO in CI, both for dependent libraries and notebook providers. As PyVO is a pure Python library, this can be done as easily as pip installing the developer version from GitHub:

pip install git+https://github.com/astropy/pyvo.git#egg=pyvo

An example for setting up development version testing for a library as a GitHub Actions Workflow can be found in astroquery.

Examples

Many instructive examples can be found in the PyVO Documentation. Additional examples can be found in the examples directory.

Unit Tests

PyVO uses the Astropy framework for unit tests which is built into the setup script. To run the tests, type:

pip install .[test] pytest

This will run all unit tests that do not require a network connection. To run all tests, including those that access the network, add the –remote-data option:

pytest –remote-data

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvo-1.7.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

pyvo-1.7-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file pyvo-1.7.tar.gz.

File metadata

  • Download URL: pyvo-1.7.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.1

File hashes

Hashes for pyvo-1.7.tar.gz
Algorithm Hash digest
SHA256 a6fad9efd410732d113e55df43b0201c9acb2e29f27532c71bda56f38ce62320
MD5 8fe245a5f754699680167c84fc10b7c9
BLAKE2b-256 b627e5cec6dea4bfe4e4e6819bd940bd74edbc5b168be7cd15fbf0a0712a3995

See more details on using hashes here.

File details

Details for the file pyvo-1.7-py3-none-any.whl.

File metadata

  • Download URL: pyvo-1.7-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.1

File hashes

Hashes for pyvo-1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f1019a7f62cd0ba8d61908d4cc2b4d2b37410a7d75401ef9cdf7dbc99d232434
MD5 e4e9de1916e774374dbc30efdf9489ed
BLAKE2b-256 b07a1e561c455e2618617d906f1d09724b92059b882fd529f0cd4ca0408ccaea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page