get-rolling-window (pypi): Create a rolling window from a 1-D numpy ndarray
Keywords: get-rolling-window