Minimal downsample.py for InfluxDB Core newbie

Hello everyone,

I’m trying to perform a simple downsampling task using the Python processing engine in InfluxDB3 Core.
I did it in the past with the Cloud version using a simple .py file. I am now trying to use this plugin: influxdb3_plugins/influxdata/downsampler at main · influxdata/influxdb3_plugins · GitHub
However, as a newbie things seem overly complicated and I am getting a bit lost. Does anyone know where I could find a minimal version of the downsampler.py file? Something that includes source table, table to create and transformation to perform on my data.

Thanks!