1# Licensed under a 3-clause BSD style license - see LICENSE.rst 2""" 3This package reads and writes data formats used by the Virtual 4Observatory (VO) initiative, particularly the VOTable XML format. 5""" 6 7 8from .table import ( 9 parse, parse_single_table, validate, from_table, is_votable, writeto) 10from .exceptions import ( 11 VOWarning, VOTableChangeWarning, VOTableSpecWarning, UnimplementedWarning, 12 IOWarning, VOTableSpecError) 13from astropy import config as _config 14 15__all__ = [ 16 'Conf', 'conf', 'parse', 'parse_single_table', 'validate', 17 'from_table', 'is_votable', 'writeto', 'VOWarning', 18 'VOTableChangeWarning', 'VOTableSpecWarning', 19 'UnimplementedWarning', 'IOWarning', 'VOTableSpecError'] 20 21 22class Conf(_config.ConfigNamespace): 23 """ 24 Configuration parameters for `astropy.io.votable`. 25 """ 26 27 verify = _config.ConfigItem( 28 'ignore', 29 "Can be 'exception' (treat fixable violations of the VOTable spec as " 30 "exceptions), 'warn' (show warnings for VOTable spec violations), or " 31 "'ignore' (silently ignore VOTable spec violations)", 32 aliases=['astropy.io.votable.table.pedantic', 33 'astropy.io.votable.pedantic']) 34 35 36conf = Conf() 37