Prophet UDF for Kapacitor

kapacitor
#1

I have a python api Prophet which is basically a time series forecasting API. I need to integrate this a a UDF in to kapacitor processing. Prophet is written in python. How do we integrate as a UDF into Kapacitor?

#2