Python module for programming simple beat loops