Python Invariance-via-subsampling Resources