Python package for selective sweeps