def get_digikey_parts_set(path):
all_parts = set()<EOL>with open(path, "<STR_LIT:r>") as csvinput:<EOL><INDENT>reader = csv.reader(csvinput)<EOL>for line in reader:<EOL><INDENT>(part, url) = line<EOL>all_parts.add(part)<EOL><DEDENT><DEDENT>return all_parts<EOL>
Reads in the digikey part dictionary and yeilds each part.