Not all modules like secfilter are available in Kamailio Kemi Python interface. You can simulate the functionality in Python but its not a complete solution; you may need to use Kamailios native scripting language & you can check with the community for alternatives.