resqpy.olio.uuid.uuid_as_int

resqpy.olio.uuid.uuid_as_int(uuid_obj)[source]

Returns the uuid as a 128 bit int; same as uuid_obj.int.

Parameters

uuid_obj (uuid.UUID object) – the uuid for which a bytes representation is required

Returns

int (128 bit, though python no longer differentiates int precision)