SPICE parser python