tablesearch

pyvo.dal.tablesearch(url, query, language='ADQL', maxrec=None, uploads=None, **keywords)

submit a Table Access query that returns rows matching the criteria given.

Parameters:
url : str

the base URL of the query service.

query : str, dict

The query string / parameters

language : str

specifies the query language, default ADQL. useful for services which allow to use the backend query language.

maxrec : int

the maximum records to return. defaults to the service default

uploads : dict

a mapping from table names to file like objects containing a votable

Returns:
TAPResults

a container holding a table of matching catalog records

Raises:
DALServiceError

for errors connecting to or communicating with the service.

DALQueryError

if the service responds with an error, including a query syntax error.