Python processing of the Diameter messages is supported in Diameter base where the processing can be enabled per message type per direction.