Package gavo :: Package web :: Module serviceresults
[frames] | no frames]

Module serviceresults

source code

"Output drivers" for various formats, for the use of form-like renderers.

TODO: Tar and the output format widget should go somewhere else; the rest should be done by RESPONSEFORMAT and formats. Then this module should die.

Classes
  ServiceResult
A base class for objects producing formatted output.
  VOTableResult
A ResultFormatter for VOTables.
  FITSTableResult
returns data as a FITS binary table.
  TSVResponse
  TextResponse
  CSVResponse
  JsonResponse
  TarResponse
delivers a tar of products requested.
  OutputFormat
A widget that offers various output options in close cooperation with gavo.js and QueryMeta.
Functions
 
getFormat(formatName) source code
Variables
  __package__ = 'gavo.web'