@@ -1801,6 +1801,12 @@ def get_uuid(key1="", key2=""):
return str(uuid_object)
+def get_uuid5():
+ namespace = uuid.NAMESPACE_OID
+ name = str(int(time.time() * 1000000000))
+ return str(uuid.uuid5(namespace, name)).replace('-', '')
+
def get_hash(text):
return hash(text)