xmlrpclib-to
XMLRPC Client with timeout
import socket
from xmlrpclib_to import ServerProxy
try
proxy = ServerProxy('http://example.com', timeout=0.5)
proxy.executeMethod()
except socket.timeout:
print "Your are late..."
XMLRPC Client with timeout
Homepage Repository PyPI Python
pip install xmlrpclib-to==0.1.1