xmlrpclib

The xmlrpclib module provides client-side support for XML-RPC. XML-RPC is a remote procedure call mechanism that uses XML for data encoding and HTTP as a transport mechanism. This module handles most of the details automatically. Therefore, it is not necessary to worry about the underlying encoding or transport of data.

To use the module, you create an instance of ServerProxy:

						ServerProxy(uri
						[,
						transport
						[,
						encoding
						[,
						verbose
						[,
						allow_none]]])

uri is the location of the remote XML-RPC server—for example, “http://www.foo.com/RPC2”. If necessary, basic authentication information can be added to the URI using the format “http://users:pass@host:port/path”, where user:pass is the username and password encoded in base-64 format. If Python ...

Get Python: Essential Reference, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.