Python interface for ngspice