Does anyone know of a Python library that will allow me to get a schematic symbol for a given pcbnew footprint? I would have access to the pcbnew footprint in python (and thus any properties of the footprint as well). Using that information, I want to retrieve the associated schematic symbol and get it in a format that gives me the properties and positions of the lines/arcs/curves/circles that comprise the symbol.
Preferably a Python library that is kept up to date with the latest KiCAD releases.
Edit: it would also have to work with both Python2 and Python3 due to Windows versions of KiCAD currently being stuck at Python2.