Python interface for various types of instruments used in circuit QED experiments