VOSI (pyvo.io.vosi)

Reference/API

pyvo.io.vosi.endpoint Module

This file contains a contains the high-level functions to read the various VOSI Endpoints.

Functions

parse_tables(source[, pedantic, filename, …]) Parses a tableset xml file (or file-like object), and returns a TablesetFile object.
parse_capabilities(source[, pedantic, …]) Parses a capabilities xml file (or file-like object), and returns a CapabilitiesFile object.
parse_availability(source[, pedantic, …]) Parses a availability xml file (or file-like object), and returns a AvailabilityFile object.

Classes

TablesFile([config, pos, version]) TABLESET/TABLE element: represents an entire file.
CapabilitiesFile([config, pos, _name]) capabilities element: represents an entire file.
AvailabilityFile([config, pos, _name]) availability element: represents an entire file.

Class Inheritance Diagram

Inheritance diagram of pyvo.io.vosi.endpoint.TablesFile, pyvo.io.vosi.endpoint.CapabilitiesFile, pyvo.io.vosi.endpoint.AvailabilityFile

pyvo.io.vosi.voresource Module

This file contains xml element classes as defined in the VOResource standard.

There are different ways of handling the various xml tags.

  • Elements with complex content
  • Elements with simple content and attributes
  • Elements with simple content without attributes

Elements with complex content are parsed with objects inherited from Element.

Elements with simple content are parsed with objects inherited from Element defining a value property.

Classes

ValidationLevel([config, pos, _name, …]) ValidationLevel element as described in http://www.ivoa.net/xml/VOResource/v1.0
Capability([config, pos, _name, standardID]) Capability element as described in http://www.ivoa.net/xml/VOResource/v1.0
Interface([config, pos, _name, version, role]) Interface element as described in http://www.ivoa.net/xml/VOResource/v1.0
AccessURL([config, pos, _name, use]) AccessURL element as described in http://www.ivoa.net/xml/VOResource/v1.0
SecurityMethod([config, pos, _name, standardID]) SecurityMethod element as described in http://www.ivoa.net/xml/VOResource/v1.0
WebBrowser([config, pos, _name, version, role]) WebBrowser element as described in http://www.ivoa.net/xml/VOResource/v1.0
WebService([config, pos, _name]) WebService element as described in http://www.ivoa.net/xml/VOResource/v1.0

Class Inheritance Diagram

Inheritance diagram of pyvo.io.vosi.voresource.ValidationLevel, pyvo.io.vosi.voresource.Capability, pyvo.io.vosi.voresource.Interface, pyvo.io.vosi.voresource.AccessURL, pyvo.io.vosi.voresource.SecurityMethod, pyvo.io.vosi.voresource.WebBrowser, pyvo.io.vosi.voresource.WebService

pyvo.io.vosi.vodataservice Module

This file contains xml element classes as defined in the VODataService standard

There are different ways of handling the various xml tags.

  • Elements with complex content
  • Elements with simple content and attributes
  • Elements with simple content without attributes

Elements with complex content are parsed with objects inherited from Element.

Elements with simple content are parsed with objects inherited from Element defining a value property.

Classes

TableSet([config, pos, _name, version]) TableSet element as described in http://www.ivoa.net/xml/VODataService/v1.1
TableSchema([config, pos, _name]) TableSchema element as described in http://www.ivoa.net/xml/VODataService/v1.1
ParamHTTP([config, pos, _name]) ParamHTTP element as described in http://www.ivoa.net/xml/VODataService/v1.1
Table([config, pos, _name, version]) Table element as described in http://www.ivoa.net/xml/VODataService/v1.1
BaseParam([config, pos, _name]) BaseParam element as described in http://www.ivoa.net/xml/VODataService/v1.1
TableParam([config, pos, _name, std]) TableParam element as described in http://www.ivoa.net/xml/VODataService/v1.1
InputParam([config, pos, _name, use, std]) InputParam element as described in http://www.ivoa.net/xml/VODataService/v1.1
DataType([config, pos, _name, arraysize, …]) DataType element as described in http://www.ivoa.net/xml/VODataService/v1.1
SimpleDataType([config, pos, _name, …]) SimpleDataType element as described in http://www.ivoa.net/xml/VODataService/v1.1
TableDataType([config, pos, _name, …]) TableDataType element as described in http://www.ivoa.net/xml/VODataService/v1.1
VOTableType([config, pos, _name, arraysize, …]) VOTableType element as described in http://www.ivoa.net/xml/VODataService/v1.1
TAPDataType([config, pos, _name, size]) TAPDataType element as described in http://www.ivoa.net/xml/VODataService/v1.1
TAPType([config, pos, _name, size]) TAPType element as described in http://www.ivoa.net/xml/VODataService/v1.1
FKColumn([config, pos, _name]) FKColumn element as described in http://www.ivoa.net/xml/VODataService/v1.1
ForeignKey([config, pos, _name]) ForeignKey element as described in http://www.ivoa.net/xml/VODataService/v1.1

Class Inheritance Diagram

Inheritance diagram of pyvo.io.vosi.vodataservice.TableSet, pyvo.io.vosi.vodataservice.TableSchema, pyvo.io.vosi.vodataservice.ParamHTTP, pyvo.io.vosi.vodataservice.Table, pyvo.io.vosi.vodataservice.BaseParam, pyvo.io.vosi.vodataservice.TableParam, pyvo.io.vosi.vodataservice.InputParam, pyvo.io.vosi.vodataservice.DataType, pyvo.io.vosi.vodataservice.SimpleDataType, pyvo.io.vosi.vodataservice.TableDataType, pyvo.io.vosi.vodataservice.VOTableType, pyvo.io.vosi.vodataservice.TAPDataType, pyvo.io.vosi.vodataservice.TAPType, pyvo.io.vosi.vodataservice.FKColumn, pyvo.io.vosi.vodataservice.ForeignKey

pyvo.io.vosi.tapregext Module

Classes

TAPCapRestriction([config, pos, _name, …])
TableAccess([config, pos, _name])
DataModelType([config, pos])
Language([config, pos])
Version([config, pos])
LanguageFeatureList([config, pos, _name])
LanguageFeature([config, pos])
OutputFormat([config, pos])
UploadMethod([config, pos])
TimeLimits([config, pos])
DataLimits([config, pos])
DataLimit([unit, config, pos])

Class Inheritance Diagram

Inheritance diagram of pyvo.io.vosi.tapregext.TAPCapRestriction, pyvo.io.vosi.tapregext.TableAccess, pyvo.io.vosi.tapregext.DataModelType, pyvo.io.vosi.tapregext.Language, pyvo.io.vosi.tapregext.Version, pyvo.io.vosi.tapregext.LanguageFeatureList, pyvo.io.vosi.tapregext.LanguageFeature, pyvo.io.vosi.tapregext.OutputFormat, pyvo.io.vosi.tapregext.UploadMethod, pyvo.io.vosi.tapregext.TimeLimits, pyvo.io.vosi.tapregext.DataLimits, pyvo.io.vosi.tapregext.DataLimit

pyvo.io.vosi.availability Module

Classes

Availability([config, pos, _name])

Class Inheritance Diagram

Inheritance diagram of pyvo.io.vosi.availability.Availability