NREL / BuildingMOTIF

Building Metadata OnTology Interoperability Framework (BuildingMOTIF)
https://buildingmotif.readthedocs.io/
Other
42 stars 6 forks source link

Add graph hashing method to utils #296

Closed TShapinsky closed 1 month ago

TShapinsky commented 8 months ago

Add a method which takes a graph and produces a hash of that.

It does so by serializing it as nt (best performant serialization, 0.03s vs 0.5s ttl in medium office compiled). And hashing the string with python's builtin hash() method

TShapinsky commented 1 month ago

@gtfierro this should be ready to review now