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