The pyvo.registry Package¶
This package will eventually contain additional implementations of the
various registry interface in use in the VO. At the moment, the
default implementation is the proprietary interface to the VAO
Registry provided by the pyvo.registry.vao
module.
pyvo.registry.regtap Module¶
a module for basic VO Registry interactions.
A VO registry is a database of VO resources–data collections and services–that are available for VO applications. Typically, it is aware of the resources from all over the world. A registry can find relevent data collections and services through search queries–typically, subject-based. The registry responds with a list of records describing matching resources. With a record in hand, the application can use the information in the record to access the resource directly. Most often, the resource is a data service that can be queried for individual datasets of interest.
This module provides basic, low-level access to the RegTAP Registries using standardized TAP-based services.
Functions¶
search ([keywords, servicetype, waveband]) |
execute a simple query to the RegTAP registry. |
ivoid2service (ivoid) |
Classes¶
RegistryResource (results, index[, fielddesc]) |
a dictionary for the resource metadata returned in one record of a |
RegistryResults (votable[, url, version]) |
an iterable set of results from a registry query. Each record is |
Class Inheritance Diagram¶
digraph inheritanced9c16cc9cf { rankdir=LR; size="8.0, 12.0"; "DALResults" [URL="../../api/pyvo.dal.query.DALResults.html#pyvo.dal.query.DALResults",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="Results from a DAL query. It provides random access to records in "]; "Record" [URL="../../api/pyvo.dal.query.Record.html#pyvo.dal.query.Record",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="one record from a DAL query result. The column values are accessible "]; "RegistryResource" [URL="../../api/pyvo.registry.regtap.RegistryResource.html#pyvo.registry.regtap.RegistryResource",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="a dictionary for the resource metadata returned in one record of a"]; "Record" -> "RegistryResource" [arrowsize=0.5,style="setlinewidth(0.5)"]; "RegistryResults" [URL="../../api/pyvo.registry.regtap.RegistryResults.html#pyvo.registry.regtap.RegistryResults",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="an iterable set of results from a registry query. Each record is"]; "TAPResults" -> "RegistryResults" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TAPResults" [URL="../../api/pyvo.dal.tap.TAPResults.html#pyvo.dal.tap.TAPResults",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top"]; "DALResults" -> "TAPResults" [arrowsize=0.5,style="setlinewidth(0.5)"]; }pyvo.registry.vao Module¶
a module for basic VO Registry interactions.
A VO registry is a database of VO resources–data collections and services–that are available for VO applications. Typically, it is aware of the resources from all over the world. A registry can find relevent data collections and services through search queries–typically, subject-based. The registry responds with a list of records describing matching resources. With a record in hand, the application can use the information in the record to access the resource directly. Most often, the resource is a data service that can be queried for individual datasets of interest.
This module provides basic, low-level access to the VAO Registry at STScI using (proprietary) VOTable-based services. In most cases, the Registry task, with its higher-level features (e.g. result caching and resource aliases), can be a more convenient interface. The more basic interface provided here allows developers to code their own interaction models.
Classes¶
RegistryService ([baseurl, resmeta, version]) |
Deprecated since version 0.5. |
RegistryQuery ([baseurl, orKeywords, version]) |
Deprecated since version 0.5. |
RegistryResults (votable[, url, version]) |
Deprecated since version 0.5. |
SimpleResource (results, index) |
Deprecated since version 0.5. |