Py registration