MCPcopy
hub / github.com/diffgram/diffgram / gen_install_finger_print

Method gen_install_finger_print

install.py:453–459  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

451 self.bucket_name = bucket_name
452
453 def gen_install_finger_print(self):
454 # Installation Fingeprint
455
456 mac_addr = hex(uuid.getnode()).encode('utf-8')
457 hash_object = hashlib.md5(mac_addr)
458 fingerprint = hash_object.hexdigest()
459 return fingerprint
460
461 def get_system_os(self):
462 os_name = os.name.lower()

Callers 1

populate_envMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected