Methods
|
|
__new__
__repr__
base64
bytes
fromBase64
fromBytes
|
|
__new__
|
__new__ (
klass,
from_string=None,
name=None,
ns=None,
version=None,
nodeid=None,
)
Exceptions
|
|
OSError, "Crypto-quality entropy not available"
ValueError, "Both ns and name must be specified"
ValueError, "If string is specified, nothing else may be"
ValueError, "Illegal node id: " + nodeid
ValueError, "Illegal syntax for UUID: " + from_string
ValueError, "Only versions 1, 3, and 4 supported"
|
|
|
__repr__
|
__repr__ ( self )
|
|
base64
|
base64 ( self )
Return a 24 byte string that is more compact than the
36-byte hex form, but still not binary
|
|
bytes
|
bytes ( self )
Return a 16 byte binary string representing the 128 bit ID in
network order
|
|
fromBase64
|
fromBase64 ( klass, s )
|
|
fromBytes
|
fromBytes ( klass, s )
Exceptions
|
|
ValueError, "UUID byte representation must be 16 bytes long"
|
|
|