py client