Metadata-Version: 1.1
Name: pyviewx.client
Version: 0.4.3
Summary: A package for communicating with eye trackers via the iViewX server software from SensoMotoric Instruments.
Home-page: https://github.com/RyanHope/PyViewX
Author: Ryan Hope
Author-email: rmh3093@gmail.com
License: GPL-3
Description: Here's a basic example of usage::
        
        	from pyviewx.client import iViewXClient, Dispatcher
        	from twisted.internet import reactor
        
        	d = Dispatcher()
        	client = iViewXClient('192.168.1.100', 4444)
        	client.addDispatcher(d)
        
        	@d.listen('ET_FIX')
        	def PyViewXEvent(inResponse):
        		print 'Fixation Start', inResponse
        
        	@d.listen('ET_EFX')
        	def PyViewXEvent(inResponse):
        		print 'Fixation End', inResponse
        
        	@d.listen('ET_SPL')
        	def PyViewXEvent(inResponse):
        		print 'Sample', inResponse
        
        	reactor.listenUDP(5555, client)
        	reactor.callLater(0, client.setDataFormat, '%TS %ET %SX %SY %DX %DY %EX %EY %EZ')
        	reactor.callLater(0, client.startDataStreaming)
        	reactor.callLater(0, client.startFixationProcessing)
        	reactor.run()
Platform: UNKNOWN
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Framework :: Twisted
Classifier: Programming Language :: Python :: 2
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Utilities
