Wrapper for using pylink in psychopy
http://pylinkwrapper.readthedocs.org/
An very simple experiment that shows how to use the above functions is provided in eyetest.py.
eyetest.py