packet python