Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Data Structures | |
class | Error |
class | ProtocolError |
class | ResponseError |
class | Fault |
class | Boolean |
class | DateTime |
class | Binary |
class | SgmlopParser |
class | ExpatParser |
class | SlowParser |
class | Marshaller |
class | Unmarshaller |
class | _Method |
class | Transport |
class | SafeTransport |
class | ServerProxy |
Functions | |
def | escape |
def | boolean |
def | datetime |
def | binary |
def | getparser |
def | dumps |
def | loads |
Variables | |
unicode = None | |
int | MAXINT = 2L |
int | MININT = -2L |
string | __version__ = "1.0.0" |
WRAPPERS = DateTime,Binary,Boolean | |
FastParser = _xmlrpclib.Parser | |
FastUnmarshaller = _xmlrpclib.Unmarshaller | |
SgmlopParser = None | |
ExpatParser = None | |
Server = ServerProxy | |
tuple | server = ServerProxy("http://betty.userland.com") |
def xmlrpclib.binary | ( | data) |
Definition at line 298 of file xmlrpclib.py.
def xmlrpclib.boolean | ( | value, | |
truefalse = (False, True |
|||
) |
Convert any Python value to XML-RPC 'boolean'.
Definition at line 237 of file xmlrpclib.py.
def xmlrpclib.datetime | ( | data) |
Definition at line 272 of file xmlrpclib.py.
def xmlrpclib.dumps | ( | params, | |
methodname = None , |
|||
methodresponse = None , |
|||
encoding = None |
|||
) |
data [,options] -> marshalled data Convert an argument tuple or a Fault instance to an XML-RPC request (or response, if the methodresponse option is used). In addition to the data object, the following options can be given as keyword arguments: methodname: the method name for a methodCall packet methodresponse: true to create a methodResponse packet. If this option is used with a tuple, the tuple must be a singleton (i.e. it can contain only one element). encoding: the packet encoding (default is UTF-8) All 8-bit strings in the data structure are assumed to use the packet encoding. Unicode strings are automatically converted, where necessary.
Definition at line 729 of file xmlrpclib.py.
References string.join().
def xmlrpclib.escape | ( | s, | |
replace = string.replace |
|||
) |
Definition at line 144 of file xmlrpclib.py.
References pydoc.replace().
def xmlrpclib.getparser | ( | ) |
getparser() -> parser, unmarshaller Create an instance of the fastest available parser, and attach it to an unmarshalling object. Return both objects.
Definition at line 708 of file xmlrpclib.py.
References FastParser, and FastUnmarshaller.
def xmlrpclib.loads | ( | data) |
data -> unmarshalled data, method name Convert an XML-RPC packet to unmarshalled data plus a method name (None if not present). If the XML-RPC packet represents a fault condition, this function raises a Fault exception.
Definition at line 794 of file xmlrpclib.py.
References getparser().
string __version__ = "1.0.0" |
Definition at line 163 of file xmlrpclib.py.
ExpatParser = None |
Definition at line 373 of file xmlrpclib.py.
FastParser = _xmlrpclib.Parser |
Definition at line 312 of file xmlrpclib.py.
FastUnmarshaller = _xmlrpclib.Unmarshaller |
Definition at line 313 of file xmlrpclib.py.
int MAXINT = 2L |
Definition at line 149 of file xmlrpclib.py.
int MININT = -2L |
Definition at line 150 of file xmlrpclib.py.
Server = ServerProxy |
Definition at line 999 of file xmlrpclib.py.
tuple server = ServerProxy("http://betty.userland.com") |
Definition at line 1009 of file xmlrpclib.py.
SgmlopParser = None |
Definition at line 329 of file xmlrpclib.py.
unicode = None |
Definition at line 136 of file xmlrpclib.py.
Definition at line 303 of file xmlrpclib.py.