Python implementation of a reduced basis collocation method