Sketches for numerical algorithms in python