internet application programming binary(datacreates an xml-rpc object containing binary data data is string containing the raw data returns binary instance the returned binary instance is transparently encoded/decoded using base during transmission to extract binary from binary instance buse data datetime(daytimecreates an xml-rpc object containing date daytime is either an iso format date stringa time tuple or struct as returned by time localtime()or datetime instance from the datetime module dumps(params [methodname [methodresponse [encoding [allow_none]]]]converts params into an xml-rpc request or responsewhere params is either tuple of arguments or an instance of the fault exception methodname is the name of the method as string methodresponse is boolean flag if truethen the result is an xml-rpc response in this caseonly one value can be supplied in params encoding specifies the text encoding in the generated xml and defaults to utf- allow_none is flag that specifies whether or not none is supported as parameter type none is not explicitly mentioned by the xml-rpc specificationbut many servers support it by defaultallow_none is false loads(dataconverts data containing an xml-rpc request or response into tuple (paramsmethodnamewhere params is tuple of parameters and methodname is string containing the method name if the request represents fault condition instead of an actual valuethen the fault exception is raised multicall(servercreates multicall object that allows multiple xml-rpc requests to be packaged together and sent as single request this can be useful performance optimization if many different rpc requests need to be made on the same server server is an instance of serverproxyrepresenting connection to remote server the returned multicall object is used in exactly the same way as serverproxy howeverinstead of immediately executing the remote methodsthe method calls as queued until the multicall object is called as function once this occursthe rpc requests are transmitted the return value of this operation is generator that yields the return result of each rpc operation in sequence note that multicall(only works if the remote server provides system multicall(method here is an example that illustrates the use of multicallmulti multicall(servermulti foo( , , remote method foo multi bar("hello world"remote method bar multi spam(remote method spam nowactually send the xml-rpc request and get return results foo_resultbar_resultspam_result multi( lib fl ff