xmlrpclib-to

XMLRPC Client with timeout


License
MIT
Install
pip install xmlrpclib-to==0.1.1

Documentation

Build Status

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..."