Package schrodinger :: Package application :: Package glide :: Module http_client
[hide private]
[frames] | no frames]

Module http_client

Glide HTTP client

This module implements objects that connect to a Glide HTTP server (see
schrodinger.application.glide.http_server) and use the server to dock
ligands remotely.

Sample usage:

    from schrodinger import structure
    from schrodinger.application.glide import http_client

    client = http_client.HTTPClient(host='localhost', port=8000)
    ct = structure.Structure.read('mylig.mae')
    poses = client.dock(ct)
    for pose in poses:
        print "gscore=%f" % pose.properties['r_i_glide_gscore']

Classes [hide private]
  HTTPClient
Variables [hide private]
  __package__ = 'schrodinger.application.glide'