A Python interface for ab initio path integral molecular dynamics simulations