maximal_spanning_non_intersecting_subsets

emmet.builders.utils.maximal_spanning_non_intersecting_subsets(sets)

Finds the maximal spanning non intersecting subsets of a group of sets This is usefull for parsing out the sandboxes and figuring out how to group and calculate these for thermo documents

sets (set(frozenset)): sets of keys to subsect, expected as a set of frozensets

Return type:

set[set[Any]]