external.guid

Module: external.guid

Functions

IPython.external.guid.extract_counter(guid)
Extracts the counter from the guid (returns the bits in decimal)
IPython.external.guid.extract_ip(guid)
Extracts the ip portion out of the guid and returns it as a string like 10.10.10.10
IPython.external.guid.extract_time(guid)
Extracts the time portion out of the guid and returns the number of seconds since the epoch as a float
IPython.external.guid.generate(ip=None)
Generates a new guid. A guid is unique in space and time because it combines the machine IP with the current time in milliseconds. Be careful about sending in a specified IP address because the ip makes it unique in space. You could send in the same IP address that is created on another machine.