PyEAGLE - Read / Write Cadsoft EAGLE Files¶
PyEAGLE is an interchange API to read and write Cadsoft EAGLE XML (v6 and later) schematic, library, and PCB layout files.
Some long term goals are:
- Comprehensive and round-trip-capable interface between Pythonic data structures and EAGLE’s XML format, eliminating the impedance mismatch involved in manipulating EAGLE files in Python scripts.
- Traversal and net analysis helpers, to serve as a foundation for higher-level tools.
- Rendering capability in SVG.
- Command-line tools, including basic
grep
andlint
tools.
At this point it is fairly incomplete and not ‘production useful’.
Example Usage¶
lib = pyeagle.open('SparkFun-Sensors.lbr')
for part in lib:
print part
Screenshot¶
Everyone loves screenshots.