pyDipole