Python script to extract footprint info from .pretty folders/footprints

Maybe it’s already useful for someone besides me.

That’s the output in Excel for my personal local footprint libs:

The script is not very pretty as I ran into a wall with the unwinding of the brakets in those files… really missing some theory lectures there, but it seems to work.
I ‘just’ wanted to be able to centrally compare things and later modify some fields.
In retrospective I would had been finished 4 times over now if I’d done it manually component by component in the editor, but I like a challenge I guess and the ability in future to do it centrally.

Anyhow, as time permits I’ll add the feature so it can modify the footprint files with the values from the csv file, probably destructive as I won’t have time for much more sophistication (unless I happen to stumble over some simple method to do it non-destructive…).
(i.e. if there are values in fields in those files the script doesn’t know about they will be erased = the script writes whats in the csv/xls and doesn’t care what’s in the file for the fields it has)