Cortex analyzer.
The datatype accepted as input is other. Analyzer needs 3 parameters to do the check, but only one can be used, so the input is one parameter with a delimeter. It has this form: received-from-mail|client-ip|hola (eg. [email protected]|10.10.10.10|mx1.domain.com).
For the SPF validation the project pyspf(https://github.com/sdgathman/pyspf) is used.