Classes | |
class | CircularSet |
A simple circular set to ensure we don't duplicate GUIDs in the same millisecond. More... | |
Functions | |
def | decode64Char (c) |
def | encode64Char (i) |
def | extract_ip (guid) |
def | extract_random (guid) |
def | extract_time (guid) |
def | generate (time_t=None) |
Public module functions. More... | |
def | main (argv, stdout, environ) |
def | pack64 (i, bytes=6) |
def | test () |
TESTING OF GUID CLASS ###. More... | |
def | unpack64 (s, bytes=6) |
def | usage (progname) |
Variables | |
c = encode64Char(i) | |
string | hexip = '' |
string | InvalidGUID = "Invalid GUID" |
string | ip = '' |
ipaddr64 = pack64(ipaddr) | |
ipaddrStr = socket.inet_aton(ip) | |
j = decode64Char(c) | |
string | lastguid = '' |
lock = threading.RLock() | |
MAX_RANDOM = sys.maxint | |
global module variables More... | |
queue = CircularSet() | |
int | QUEUE_SIZE = 100 |
rand = random.Random() | |
usage: %(progname)s [args]
def pyclearsilver.guid.extract_ip | ( | guid | ) |
def pyclearsilver.guid.extract_random | ( | guid | ) |
def pyclearsilver.guid.extract_time | ( | guid | ) |
def pyclearsilver.guid.generate | ( | time_t = None | ) |
pyclearsilver.guid.c = encode64Char(i) |
pyclearsilver.guid.j = decode64Char(c) |
pyclearsilver.guid.MAX_RANDOM = sys.maxint |
pyclearsilver.guid.queue = CircularSet() |