pup python