KBackground is a standalone Python tool to quickly model the rolling band in Kepler and K2 data.
pip install kbackground
To use kbackground, you can create an object using row, column and flux values. That object can then be used to provide the modeled background.
from kbackground import Estimator
e = Estimator(time, row, column, flux)
bkg_model = e.modelbkg_model will be a 2D array with the same shape as flux.