external.guid

Module: external.guid

Functions

IPython.external.guid.extract_counter()

Extracts the counter from the guid (returns the bits in decimal)

IPython.external.guid.extract_ip()

Extracts the ip portion out of the guid and returns it as a string like 10.10.10.10

IPython.external.guid.extract_time()

Extracts the time portion out of the guid and returns the number of seconds since the epoch as a float

IPython.external.guid.generate()

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.

Table Of Contents

Previous topic

external.configobj

Next topic

external.mglob

This Page