taup.http_server
Module Contents
Classes
Data
This starts the ‘taup web’ process within the script, avoiding a two step process to get the results. Many queries can be sent to the server, saving significant spin up/shutdown time. |
API
- taup.http_server.VERBOSE = False
This starts the ‘taup web’ process within the script, avoiding a two step process to get the results. Many queries can be sent to the server, saving significant spin up/shutdown time.
- class taup.http_server.TauPServer(taup_path=None, verbose=VERBOSE)
Initialization
- __enter__()
- __exit__(exc_type, exc_value, traceback)
- shutdown()
- checkVersion()
Compare version these python bindings were created for with the version of the server. Prints a message to stderr if not the same. Returns the server version.
- printVersionWarnMsg(message, serverVersion, myVersion)
- retrieveTextual(params, tool='time', format='text')
- retrieveJson(params, tool='time')
- queryJson(params, tool='time')
- queryText(params, tool='time')
- querySvg(params, tool='time')
- queryGmt(params, tool='time')
- queryHtml(params, tool='time')
- queryCsv(params, tool='time')
- queryLocsat(params, tool='time')