Register py pi