Install with pip:
$ pip install pyeagle
Open a library file, print some info about the contents.
import pyeagle lib = pyeagle.open('SparkFun-Sensors.lbr') for device_set in lib: # could also use lib.device_sets print device_set for symbol in lib.symbols: print symbol for package in lib.packages: print package